Commit 3d06576e authored by GuillemCabo's avatar GuillemCabo Committed by Guillem
Browse files

add FT MCCU, move TB MCCU & crossbar, update doc, add resource logs

parent 67bc278e
......@@ -3,7 +3,7 @@ TOP=../../..
mv /AXI_PMU /tmp 2>/dev/null
vlib AXI_PMU
vmap work $PWD/AXI_PMU
vlog +acc=rn +incdir+$TOP/hdl/ $TOP/hdl/*.sv $TOP/submodules/MCCU/hdl/* $TOP/submodules/RDC/hdl/*.sv ./fifos/hdl/sync_fifo.v ./axi_test_master/hdl/axi_test_master.v tb_AXI_PMU.sv ./colors.vh
vlog +acc=rn +incdir+$TOP/hdl/ $TOP/hdl/*.sv $TOP/submodules/MCCU/hdl/* $TOP/submodules/RDC/hdl/*.sv ./fifos/hdl/sync_fifo.v ./axi_test_master/hdl/axi_test_master.v ../../../../bsc_pmu/submodules/seu_ip/*sv tb_AXI_PMU.sv ./colors.vh
vmake AXI_PMU/ > Makefile
if [ -z "$1" ]
then
......
......@@ -898,17 +898,17 @@ task automatic init_sim;
if(!int_quota_c1_o)
cycles_int_c1++;
end
if( cycles_int_c0!=5) begin
if( cycles_int_c0!=6) begin
`START_RED_PRINT
$error("FAIL test_MCCI. Int_quota_c0 took %d cycles instead of %d"
, cycles_int_c0, 5);
, cycles_int_c0, 6);
`END_COLOR_PRINT
tmp=1;
end
if( cycles_int_c1!=6) begin
if( cycles_int_c1!=7) begin
`START_RED_PRINT
$error("FAIL test_MCCI. Int_quota_c1 took %d cycles instead of %d"
, cycles_int_c1, 6);
, cycles_int_c1, 7);
`END_COLOR_PRINT
tmp=1;
end
......
crossbar
Makefile
modelsim.ini
test.vcd
transcript
vsim.wlf
#$1
TOP=../../../submodules/crossbar/
if [ -z "$1" ]
then
vlib crossbar
vmap work $PWD/crossbar
vlog +acc=rn +incdir+../../hdl/ ../../hdl/*.sv tb_crossbar.sv
vlog +acc=rn +incdir+$TOP/hdl/ $TOP/hdl/*.sv tb_crossbar.sv
vmake crossbar/ > Makefile
vsim work.tb_crossbar -do "view wave -new" -do "do wave.do" -do "run -all"
else
vlib crossbar
vmap work $PWD/crossbar
vlog +acc=rn +incdir+../../hdl/ ../../hdl/*.sv tb_crossbar.sv
vlog +acc=rn +incdir+$TOP/hdl/ $TOP/hdl/*.sv tb_crossbar.sv
vmake crossbar/ > Makefile
vsim work.tb_crossbar $1 -do "do save_wave.do"
fi
set WildcardFilter ""
log -r /*
run -all
quit
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment