503 lines
8.5 KiB
Plaintext
503 lines
8.5 KiB
Plaintext
|
/*<simulation_settings>
|
||
|
<ftestbench_cmd>quartus_eda --gen_testbench --tool=modelsim_oem --format=vhdl --write_settings_files=off Teste1 -c Teste1 --vector_source="/home/tiagorg/repos/uaveiro-leci/1ano/isd/quartus-projects/Teste/Waveform.vwf" --testbench_file="/home/tiagorg/repos/uaveiro-leci/1ano/isd/quartus-projects/Teste/simulation/qsim/Waveform.vwf.vht"</ftestbench_cmd>
|
||
|
<ttestbench_cmd>quartus_eda --gen_testbench --tool=modelsim_oem --format=vhdl --write_settings_files=off Teste1 -c Teste1 --vector_source="/home/tiagorg/repos/uaveiro-leci/1ano/isd/quartus-projects/Teste/Waveform.vwf" --testbench_file="/home/tiagorg/repos/uaveiro-leci/1ano/isd/quartus-projects/Teste/simulation/qsim/Waveform.vwf.vht"</ttestbench_cmd>
|
||
|
<fnetlist_cmd>quartus_eda --write_settings_files=off --simulation --functional=on --flatten_buses=off --tool=modelsim_oem --format=vhdl --output_directory="/home/tiagorg/repos/uaveiro-leci/1ano/isd/quartus-projects/Teste/simulation/qsim/" Teste1 -c Teste1</fnetlist_cmd>
|
||
|
<tnetlist_cmd>quartus_eda --write_settings_files=off --simulation --functional=off --flatten_buses=off --timescale=1ps --tool=modelsim_oem --format=vhdl --output_directory="/home/tiagorg/repos/uaveiro-leci/1ano/isd/quartus-projects/Teste/simulation/qsim/" Teste1 -c Teste1</tnetlist_cmd>
|
||
|
<modelsim_script>onerror {exit -code 1}
|
||
|
vlib work
|
||
|
vcom -work work Teste1.vho
|
||
|
vcom -work work Waveform.vwf.vht
|
||
|
vsim -c -t 1ps -L cycloneive -L altera -L altera_mf -L 220model -L sgate -L altera_lnsim work.Teste1_vhd_vec_tst
|
||
|
vcd file -direction Teste1.msim.vcd
|
||
|
vcd add -internal Teste1_vhd_vec_tst/*
|
||
|
vcd add -internal Teste1_vhd_vec_tst/i1/*
|
||
|
proc simTimestamp {} {
|
||
|
echo "Simulation time: $::now ps"
|
||
|
if { [string equal running [runStatus]] } {
|
||
|
after 2500 simTimestamp
|
||
|
}
|
||
|
}
|
||
|
after 2500 simTimestamp
|
||
|
run -all
|
||
|
quit -f
|
||
|
</modelsim_script>
|
||
|
<modelsim_script_timing>onerror {exit -code 1}
|
||
|
vlib work
|
||
|
vcom -work work Teste1.vho
|
||
|
vcom -work work Waveform.vwf.vht
|
||
|
vsim -novopt -c -t 1ps -sdfmax Teste1_vhd_vec_tst/i1=Teste1_vhd.sdo -L cycloneive -L altera -L altera_mf -L 220model -L sgate -L altera_lnsim work.Teste1_vhd_vec_tst
|
||
|
vcd file -direction Teste1.msim.vcd
|
||
|
vcd add -internal Teste1_vhd_vec_tst/*
|
||
|
vcd add -internal Teste1_vhd_vec_tst/i1/*
|
||
|
proc simTimestamp {} {
|
||
|
echo "Simulation time: $::now ps"
|
||
|
if { [string equal running [runStatus]] } {
|
||
|
after 2500 simTimestamp
|
||
|
}
|
||
|
}
|
||
|
after 2500 simTimestamp
|
||
|
run -all
|
||
|
quit -f
|
||
|
</modelsim_script_timing>
|
||
|
<hdl_lang>vhdl</hdl_lang>
|
||
|
</simulation_settings>*/
|
||
|
/*
|
||
|
WARNING: Do NOT edit the input and output ports in this file in a text
|
||
|
editor if you plan to continue editing the block that represents it in
|
||
|
the Block Editor! File corruption is VERY likely to occur.
|
||
|
*/
|
||
|
|
||
|
/*
|
||
|
Copyright (C) 2020 Intel Corporation. All rights reserved.
|
||
|
Your use of Intel Corporation's design tools, logic functions
|
||
|
and other software and tools, and any partner logic
|
||
|
functions, and any output files from any of the foregoing
|
||
|
(including device programming or simulation files), and any
|
||
|
associated documentation or information are expressly subject
|
||
|
to the terms and conditions of the Intel Program License
|
||
|
Subscription Agreement, the Intel Quartus Prime License Agreement,
|
||
|
the Intel FPGA IP License Agreement, or other applicable license
|
||
|
agreement, including, without limitation, that your use is for
|
||
|
the sole purpose of programming logic devices manufactured by
|
||
|
Intel and sold by Intel or its authorized distributors. Please
|
||
|
refer to the applicable agreement for further details, at
|
||
|
https://fpgasoftware.intel.com/eula.
|
||
|
*/
|
||
|
|
||
|
HEADER
|
||
|
{
|
||
|
VERSION = 1;
|
||
|
TIME_UNIT = ns;
|
||
|
DATA_OFFSET = 0.0;
|
||
|
DATA_DURATION = 1000.0;
|
||
|
SIMULATION_TIME = 0.0;
|
||
|
GRID_PHASE = 0.0;
|
||
|
GRID_PERIOD = 10.0;
|
||
|
GRID_DUTY_CYCLE = 50;
|
||
|
}
|
||
|
|
||
|
SIGNAL("S")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = BUS;
|
||
|
WIDTH = 3;
|
||
|
LSB_INDEX = 0;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("S[2]")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "S";
|
||
|
}
|
||
|
|
||
|
SIGNAL("S[1]")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "S";
|
||
|
}
|
||
|
|
||
|
SIGNAL("S[0]")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "S";
|
||
|
}
|
||
|
|
||
|
SIGNAL("X0")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("X1")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("X2")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("X3")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("X4")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("X5")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("X6")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("X7")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = INPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
SIGNAL("Y")
|
||
|
{
|
||
|
VALUE_TYPE = NINE_LEVEL_BIT;
|
||
|
SIGNAL_TYPE = SINGLE_BIT;
|
||
|
WIDTH = 1;
|
||
|
LSB_INDEX = -1;
|
||
|
DIRECTION = OUTPUT;
|
||
|
PARENT = "";
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("S[2]")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
LEVEL 0 FOR 400.0;
|
||
|
LEVEL 1 FOR 400.0;
|
||
|
}
|
||
|
LEVEL 0 FOR 200.0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("S[1]")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 2;
|
||
|
LEVEL 0 FOR 200.0;
|
||
|
LEVEL 1 FOR 200.0;
|
||
|
}
|
||
|
LEVEL 0 FOR 200.0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("S[0]")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 5;
|
||
|
LEVEL 0 FOR 100.0;
|
||
|
LEVEL 1 FOR 100.0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("X0")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 160;
|
||
|
LEVEL 0 FOR 3.125;
|
||
|
LEVEL 1 FOR 3.125;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("X1")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 80;
|
||
|
LEVEL 0 FOR 6.25;
|
||
|
LEVEL 1 FOR 6.25;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("X2")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 40;
|
||
|
LEVEL 0 FOR 12.5;
|
||
|
LEVEL 1 FOR 12.5;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("X3")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 20;
|
||
|
LEVEL 0 FOR 25.0;
|
||
|
LEVEL 1 FOR 25.0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("X4")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 10;
|
||
|
LEVEL 0 FOR 50.0;
|
||
|
LEVEL 1 FOR 50.0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("X5")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 5;
|
||
|
LEVEL 0 FOR 100.0;
|
||
|
LEVEL 1 FOR 100.0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("X6")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 2;
|
||
|
LEVEL 0 FOR 200.0;
|
||
|
LEVEL 1 FOR 200.0;
|
||
|
}
|
||
|
LEVEL 0 FOR 200.0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("X7")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
LEVEL 0 FOR 400.0;
|
||
|
LEVEL 1 FOR 400.0;
|
||
|
}
|
||
|
LEVEL 0 FOR 200.0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
TRANSITION_LIST("Y")
|
||
|
{
|
||
|
NODE
|
||
|
{
|
||
|
REPEAT = 1;
|
||
|
LEVEL X FOR 1000.0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "S";
|
||
|
EXPAND_STATUS = EXPANDED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 0;
|
||
|
TREE_LEVEL = 0;
|
||
|
CHILDREN = 1, 2, 3;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "S[2]";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 1;
|
||
|
TREE_LEVEL = 1;
|
||
|
PARENT = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "S[1]";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 2;
|
||
|
TREE_LEVEL = 1;
|
||
|
PARENT = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "S[0]";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 3;
|
||
|
TREE_LEVEL = 1;
|
||
|
PARENT = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "X0";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 4;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "X1";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 5;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "X2";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 6;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "X3";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 7;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "X4";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 8;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "X5";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 9;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "X6";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 10;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "X7";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 11;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
DISPLAY_LINE
|
||
|
{
|
||
|
CHANNEL = "Y";
|
||
|
EXPAND_STATUS = COLLAPSED;
|
||
|
RADIX = Binary;
|
||
|
TREE_INDEX = 12;
|
||
|
TREE_LEVEL = 0;
|
||
|
}
|
||
|
|
||
|
TIME_BAR
|
||
|
{
|
||
|
TIME = 0;
|
||
|
MASTER = TRUE;
|
||
|
}
|
||
|
;
|