Verilog, Fpga, Testing, Dependency Injection.
external_memory = 0) the external memory io outputs should simply be set to 0. Additionally, when instantiating this module, set the external memory io inputs to 0 as well since they are unused. On the other had, when using an external memory module (i.e. external_memory = 1) you should connect the