Skip to content
Snippets Groups Projects
Commit a055cc84 authored by Daniel Newbrook's avatar Daniel Newbrook
Browse files

Add support for ADP Program load in simulation

parent f783f487
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,8 @@ QUICKSTART ?= no
ASIC ?= no
FAST_SIM ?= yes
#-------------------------------------
# - Directory Setups
#-------------------------------------
......@@ -65,6 +67,11 @@ ifeq ($(ACCELERATOR),yes)
NANOSOC_DEFINES += ACCELERATOR_SUBSYSTEM
endif
ifeq ($(FAST_SIM),yes)
DEFINES_VC += +define+FAST_SIM
NANOSOC_DEFINES += FAST_SIM
endif
# System Design Filelist
ifeq ($(QUICKSTART),yes)
DESIGN_VC ?= $(SOCLABS_PROJECT_DIR)/flist/project/top_qs.flist
......
......@@ -319,9 +319,16 @@ reg baud_clk_del;
wire rxd8_tvalid;
wire [7:0] rxd8_tdata ;
`ifdef FAST_SIM
parameter FAST_LOAD = 1;
`else
parameter FAST_LOAD = 0;
`endif
`ifndef COCOTB_SIM
nanosoc_axi_stream_io_8_txd_from_file #(
.TXDFILENAME(ADP_FILENAME)
.TXDFILENAME(ADP_FILENAME),
.FAST_LOAD(FAST_LOAD)
) u_nanosoc_axi_stream_io_8_txd_from_file (
.aclk (CLK),
.aresetn (NRST),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment