/* quartus_eda --gen_testbench --tool=modelsim_oem --format=verilog --write_settings_files=off rom2627 -c rom2627 --vector_source="D:/Projects/quartus/rom/Waveform.vwf" --testbench_file="D:/Projects/quartus/rom/simulation/qsim/Waveform.vwf.vt" quartus_eda --gen_testbench --tool=modelsim_oem --format=verilog --write_settings_files=off rom2627 -c rom2627 --vector_source="D:/Projects/quartus/rom/Waveform.vwf" --testbench_file="D:/Projects/quartus/rom/simulation/qsim/Waveform.vwf.vt" quartus_eda --write_settings_files=off --simulation --functional=on --flatten_buses=off --tool=modelsim_oem --format=verilog --output_directory="D:/Projects/quartus/rom/simulation/qsim/" rom2627 -c rom2627 quartus_eda --write_settings_files=off --simulation --functional=off --flatten_buses=off --timescale=1ps --tool=modelsim_oem --format=verilog --output_directory="D:/Projects/quartus/rom/simulation/qsim/" rom2627 -c rom2627 onerror {exit -code 1} vlib work vlog -work work rom2627.vo vlog -work work Waveform.vwf.vt vsim -novopt -c -t 1ps -L cycloneive_ver -L altera_ver -L altera_mf_ver -L 220model_ver -L sgate_ver -L altera_lnsim_ver work.rom2627_vlg_vec_tst vcd file -direction rom2627.msim.vcd vcd add -internal rom2627_vlg_vec_tst/* vcd add -internal rom2627_vlg_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 onerror {exit -code 1} vlib work vlog -work work rom2627.vo vlog -work work Waveform.vwf.vt vsim -novopt -c -t 1ps -L cycloneive_ver -L altera_ver -L altera_mf_ver -L 220model_ver -L sgate_ver -L altera_lnsim_ver work.rom2627_vlg_vec_tst vcd file -direction rom2627.msim.vcd vcd add -internal rom2627_vlg_vec_tst/* vcd add -internal rom2627_vlg_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 verilog */ /* 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) 2017 Intel Corporation. All rights reserved. Your use of Intel Corporation's design tools, logic functions and other software and tools, and its AMPP 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. */ HEADER { VERSION = 1; TIME_UNIT = ns; DATA_OFFSET = 0.0; DATA_DURATION = 64.0; SIMULATION_TIME = 0.0; GRID_PHASE = 0.0; GRID_PERIOD = 10.0; GRID_DUTY_CYCLE = 50; } SIGNAL("address") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = BUS; WIDTH = 6; LSB_INDEX = 0; DIRECTION = INPUT; PARENT = ""; } SIGNAL("address[5]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "address"; } SIGNAL("address[4]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "address"; } SIGNAL("address[3]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "address"; } SIGNAL("address[2]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "address"; } SIGNAL("address[1]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "address"; } SIGNAL("address[0]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "address"; } SIGNAL("clock") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = ""; } SIGNAL("q") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = BUS; WIDTH = 24; LSB_INDEX = 0; DIRECTION = OUTPUT; PARENT = ""; } SIGNAL("q[23]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[22]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[21]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[20]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[19]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[18]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[17]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[16]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[15]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[14]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[13]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[12]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[11]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[10]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[9]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[8]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[7]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[6]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[5]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[4]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[3]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[2]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[1]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } SIGNAL("q[0]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = OUTPUT; PARENT = "q"; } TRANSITION_LIST("address[5]") { NODE { REPEAT = 1; NODE { REPEAT = 1; LEVEL 0 FOR 32.0; LEVEL 1 FOR 32.0; } } } TRANSITION_LIST("address[4]") { NODE { REPEAT = 1; NODE { REPEAT = 2; LEVEL 0 FOR 16.0; LEVEL 1 FOR 16.0; } } } TRANSITION_LIST("address[3]") { NODE { REPEAT = 1; NODE { REPEAT = 4; LEVEL 0 FOR 8.0; LEVEL 1 FOR 8.0; } } } TRANSITION_LIST("address[2]") { NODE { REPEAT = 1; NODE { REPEAT = 8; LEVEL 0 FOR 4.0; LEVEL 1 FOR 4.0; } } } TRANSITION_LIST("address[1]") { NODE { REPEAT = 1; NODE { REPEAT = 16; LEVEL 0 FOR 2.0; LEVEL 1 FOR 2.0; } } } TRANSITION_LIST("address[0]") { NODE { REPEAT = 1; NODE { REPEAT = 32; LEVEL 0 FOR 1.0; LEVEL 1 FOR 1.0; } } } TRANSITION_LIST("clock") { NODE { REPEAT = 1; NODE { REPEAT = 64; LEVEL 0 FOR 0.5; LEVEL 1 FOR 0.5; } } } TRANSITION_LIST("q[23]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[22]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[21]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[20]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[19]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[18]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[17]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[16]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[15]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[14]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[13]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[12]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[11]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[10]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[9]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[8]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[7]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[6]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[5]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[4]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[3]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[2]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[1]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } TRANSITION_LIST("q[0]") { NODE { REPEAT = 1; LEVEL X FOR 64.0; } } DISPLAY_LINE { CHANNEL = "clock"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 0; TREE_LEVEL = 0; } DISPLAY_LINE { CHANNEL = "address"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 1; TREE_LEVEL = 0; CHILDREN = 2, 3, 4, 5, 6, 7; } DISPLAY_LINE { CHANNEL = "address[5]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 2; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "address[4]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 3; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "address[3]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 4; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "address[2]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 5; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "address[1]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 6; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "address[0]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 7; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "q"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 8; TREE_LEVEL = 0; CHILDREN = 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32; } DISPLAY_LINE { CHANNEL = "q[23]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 9; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[22]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 10; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[21]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 11; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[20]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 12; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[19]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 13; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[18]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 14; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[17]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 15; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[16]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 16; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[15]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 17; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[14]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 18; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[13]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 19; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[12]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 20; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[11]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 21; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[10]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 22; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[9]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 23; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[8]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 24; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[7]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 25; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[6]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 26; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[5]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 27; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[4]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 28; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[3]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 29; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[2]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 30; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[1]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 31; TREE_LEVEL = 1; PARENT = 8; } DISPLAY_LINE { CHANNEL = "q[0]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 32; TREE_LEVEL = 1; PARENT = 8; } TIME_BAR { TIME = 0; MASTER = TRUE; } ;