(*synthesize*)
module mkSoc #(Bit#(`VADDR) reset_vector,
Clock slow_clock, Reset slow_reset, Clock uart_clock,
- Reset uart_reset, Clock clk0, Clock tck, Reset trst
+ Reset uart_reset, Clock clk0, Reset rst0, Clock tck, Reset trst
`ifdef PWM_AXI4Lite ,Clock ext_pwm_clock `endif )(Ifc_Soc);
Clock core_clock <-exposeCurrentClock; // slow peripheral clock
Reset core_reset <-exposeCurrentReset; // slow peripheral reset
"Ifc_sdram_out sdr{0}_out;".format(count)
def get_clk_spc(self, typ):
- return "clk0, slow_reset"
+ return "clk0, rst0"
def get_clock_reset(self, name, count):
return "slow_clock, slow_reset"
def mkfast_peripheral(self):
- return "Ifc_sdr_slave sdr{0} <- mksdr_axi4_slave(clk0);"
+ return "Ifc_sdr_slave sdr{0} <- mksdr_axi4_slave(clk0, rst0);"
def _mk_connection(self, name=None, count=0):
return ["sdr{0}.axi4_slave_sdram",