Skip to content
Snippets Groups Projects
Commit f3387635 authored by David Mapstone's avatar David Mapstone
Browse files

SOC1-141: Updated Filelists to work with Icarus Verilog and changed...

SOC1-141: Updated Filelists to work with Icarus Verilog and changed accelerator environment variable name
parent a103d482
Branches
No related tags found
No related merge requests found
...@@ -16,10 +16,11 @@ ...@@ -16,10 +16,11 @@
+libext+.v+.vlib +libext+.v+.vlib
// ============= Accelerator Module search path ============= // ============= Accelerator Module search path =============
-y $DESIGN/accelerator-wrapper/hdl/src/ -y $(WRAP_ACC_DIR)/hdl/src/
+incdir+$DESIGN/accelerator-wrapper/hdl/src/ +incdir+$(WRAP_ACC_DIR)/hdl/src/
$DESIGN/accelerator-wrapper/hdl/src/wrapper_ahb_interface.sv $(WRAP_ACC_DIR)/hdl/src/wrapper_ahb_reg_interface.sv
$DESIGN/accelerator-wrapper/hdl/src/wrapper_packet_construct.sv $(WRAP_ACC_DIR)/hdl/src/wrapper_ahb_to_vr_interface.sv
$DESIGN/accelerator-wrapper/hdl/src/wrapper_packet_deconstruct.sv $(WRAP_ACC_DIR)/hdl/src/wrapper_packet_construct.sv
$DESIGN/accelerator-wrapper/hdl/src/wrapper_sha256_hashing_stream.sv $(WRAP_ACC_DIR)/hdl/src/wrapper_packet_deconstruct.sv
\ No newline at end of file $(WRAP_ACC_DIR)/hdl/src/wrapper_sha256_hashing_stream.sv
\ No newline at end of file
...@@ -12,5 +12,5 @@ ...@@ -12,5 +12,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
mkdir -p $SOC_TOP/simulate/sim/ mkdir -p $SOC_TOP/simulate/sim/
iverilog -I $SOC_TOP/hdl/verif/ -I $SOC_TOP/hdl/verif/submodules -I $SOC_TOP/hdl/src/ -I $SHA_2_ACC_DIR/hdl/src/ -g2012 -o $SOC_TOP/simulate/sim/$1.vvp $SOC_TOP/hdl/verif/tb_$1.sv iverilog -c $WRAP_ACC_DIR/flist/*.flist -c $ACC_ENGINE_DIR/flist/*.flist -I $SOC_TOP/hdl/verif/ -I $SOC_TOP/hdl/verif/submodules -I $SOC_TOP/hdl/src/ -I $ACC_ENGINE_DIR/hdl/src/ -g2012 -o $SOC_TOP/simulate/sim/$1.vvp $SOC_TOP/hdl/verif/tb_$1.sv
cd $SOC_TOP/simulate/sim/ && vvp $1.vvp $2 cd $SOC_TOP/simulate/sim/ && vvp $1.vvp $2
\ No newline at end of file
...@@ -205,6 +205,6 @@ if __name__ == "__main__": ...@@ -205,6 +205,6 @@ if __name__ == "__main__":
accelerator_input_size = 0x0000_0800 accelerator_input_size = 0x0000_0800
accelerator_output_address = 0x6001_0800 accelerator_output_address = 0x6001_0800
accelerator_output_size = 0x0000_0800 accelerator_output_size = 0x0000_0800
stim_file = os.environ["SHA_2_ACC_DIR"] + "/simulate/stimulus/system/" + "input_data_32bit_stim.csv" stim_file = os.environ["ACC_ENGINE_DIR"] + "/simulate/stimulus/system/" + "input_data_32bit_stim.csv"
ref_file = os.environ["SHA_2_ACC_DIR"] + "/simulate/stimulus/system/" + "output_hash_32bit_ref.csv" ref_file = os.environ["ACC_ENGINE_DIR"] + "/simulate/stimulus/system/" + "output_hash_32bit_ref.csv"
stimulus_generation(stim_file, ref_file, accelerator_input_address, accelerator_input_size, accelerator_output_address, accelerator_output_size) stimulus_generation(stim_file, ref_file, accelerator_input_address, accelerator_input_size, accelerator_output_address, accelerator_output_size)
\ No newline at end of file
...@@ -35,10 +35,6 @@ ...@@ -35,10 +35,6 @@
// each register can be accessed by byte, half word or word. // each register can be accessed by byte, half word or word.
// The example slave always output ready and OKAY response to the master // The example slave always output ready and OKAY response to the master
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// `include "wrapper_packet_construct.sv"
// `include "wrapper_packet_deconstruct.sv"
// `include "wrapper_ahb_interface.sv"
// `include "sha256_hashing_stream.sv"
module wrapper_sha256_hashing_stream #( module wrapper_sha256_hashing_stream #(
parameter ADDRWIDTH=12 parameter ADDRWIDTH=12
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment