Pass parameters to model

This commit is contained in:
Alex Forencich 2019-07-18 22:51:54 -07:00
parent 8cb0a5e06e
commit 4e49dbcf3d
2 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ def bench():
output_pps = Signal(bool(0))
# PTP clock
ptp_clock = ptp.PtpClock()
ptp_clock = ptp.PtpClock(period_ns=INPUT_PERIOD_NS, period_fns=INPUT_PERIOD_FNS)
ptp_logic = ptp_clock.create_logic(
input_clk,

View File

@ -72,7 +72,7 @@ def bench():
output_pps = Signal(bool(0))
# PTP clock
ptp_clock = ptp.PtpClock()
ptp_clock = ptp.PtpClock(period_ns=INPUT_PERIOD_NS, period_fns=INPUT_PERIOD_FNS)
ptp_logic = ptp_clock.create_logic(
input_clk,