Skip to content
Snippets Groups Projects
Commit 6f591eb2 authored by BRONES Romain's avatar BRONES Romain
Browse files

Mutliple fixes

* Tie version register
* Import lib
* Copy data input before simulation
parent f5ba74d6
No related branches found
No related tags found
No related merge requests found
......@@ -87,6 +87,8 @@ begin
po_addrmap => mm_a2l
);
mm_l2a.VERSION.data.data <= C_VERSION;
------------------
-- UNPACK INPUT --
------------------
......
......@@ -23,7 +23,7 @@ addrmap corr_matrixpi {
reg {
desc="Module Version Number.";
default sw = r;
default hw = r;
default hw = rw;
field {} data [32];
} VERSION @0x04;
......
library ieee ;
use ieee.std_logic_1164.all ;
use ieee.numeric_std.all ;
use std.textio.all;
library OSVVM ;
context OSVVM.OsvvmContext ;
......
......@@ -58,4 +58,7 @@ proc setSim {} {
set SimTop { \
tc_basic \
}
# Move data input to project path
file copy -force "../sim/reforbit.txt" "../sim/bpmdata.txt" "../sim/respmat.txt" "../sim/corrout.txt" ${::fwfwk::PrjBuildPath}
}
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