/* quartus_eda --gen_testbench --tool=modelsim_oem --format=verilog --write_settings_files=off register2627 -c register2627 --vector_source="F:/quartus/3.register/Waveform.vwf" --testbench_file="F:/quartus/3.register/simulation/qsim/Waveform.vwf.vt" quartus_eda --gen_testbench --tool=modelsim_oem --format=verilog --write_settings_files=off register2627 -c register2627 --vector_source="F:/quartus/3.register/Waveform.vwf" --testbench_file="F:/quartus/3.register/simulation/qsim/Waveform.vwf.vt" quartus_eda --write_settings_files=off --simulation --functional=on --flatten_buses=off --tool=modelsim_oem --format=verilog --output_directory="F:/quartus/3.register/simulation/qsim/" register2627 -c register2627 quartus_eda --write_settings_files=off --simulation --functional=off --flatten_buses=off --timescale=1ps --tool=modelsim_oem --format=verilog --output_directory="F:/quartus/3.register/simulation/qsim/" register2627 -c register2627 onerror {exit -code 1} vlib work vlog -work work register2627.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.register2627_vlg_vec_tst vcd file -direction register2627.msim.vcd vcd add -internal register2627_vlg_vec_tst/* vcd add -internal register2627_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 register2627.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.register2627_vlg_vec_tst vcd file -direction register2627.msim.vcd vcd add -internal register2627_vlg_vec_tst/* vcd add -internal register2627_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 = 256.0; SIMULATION_TIME = 0.0; GRID_PHASE = 0.0; GRID_PERIOD = 10.0; GRID_DUTY_CYCLE = 50; } SIGNAL("CLK") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = ""; } SIGNAL("D") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = BUS; WIDTH = 8; LSB_INDEX = 0; DIRECTION = INPUT; PARENT = ""; } SIGNAL("D[7]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "D"; } SIGNAL("D[6]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "D"; } SIGNAL("D[5]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "D"; } SIGNAL("D[4]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "D"; } SIGNAL("D[3]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "D"; } SIGNAL("D[2]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "D"; } SIGNAL("D[1]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "D"; } SIGNAL("D[0]") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = SINGLE_BIT; WIDTH = 1; LSB_INDEX = -1; DIRECTION = INPUT; PARENT = "D"; } SIGNAL("Q") { VALUE_TYPE = NINE_LEVEL_BIT; SIGNAL_TYPE = BUS; WIDTH = 8; LSB_INDEX = 0; DIRECTION = OUTPUT; PARENT = ""; } 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("CLK") { NODE { REPEAT = 1; NODE { REPEAT = 170; LEVEL 0 FOR 0.75; LEVEL 1 FOR 0.75; } LEVEL 0 FOR 0.75; LEVEL 1 FOR 0.25; } } TRANSITION_LIST("D[7]") { NODE { REPEAT = 1; NODE { REPEAT = 1; LEVEL 0 FOR 128.0; LEVEL 1 FOR 128.0; } } } TRANSITION_LIST("D[6]") { NODE { REPEAT = 1; NODE { REPEAT = 2; LEVEL 0 FOR 64.0; LEVEL 1 FOR 64.0; } } } TRANSITION_LIST("D[5]") { NODE { REPEAT = 1; NODE { REPEAT = 4; LEVEL 0 FOR 32.0; LEVEL 1 FOR 32.0; } } } TRANSITION_LIST("D[4]") { NODE { REPEAT = 1; NODE { REPEAT = 8; LEVEL 0 FOR 16.0; LEVEL 1 FOR 16.0; } } } TRANSITION_LIST("D[3]") { NODE { REPEAT = 1; NODE { REPEAT = 16; LEVEL 0 FOR 8.0; LEVEL 1 FOR 8.0; } } } TRANSITION_LIST("D[2]") { NODE { REPEAT = 1; NODE { REPEAT = 32; LEVEL 0 FOR 4.0; LEVEL 1 FOR 4.0; } } } TRANSITION_LIST("D[1]") { NODE { REPEAT = 1; NODE { REPEAT = 64; LEVEL 0 FOR 2.0; LEVEL 1 FOR 2.0; } } } TRANSITION_LIST("D[0]") { NODE { REPEAT = 1; NODE { REPEAT = 128; LEVEL 0 FOR 1.0; LEVEL 1 FOR 1.0; } } } TRANSITION_LIST("Q[7]") { NODE { REPEAT = 1; LEVEL X FOR 99.0; LEVEL 0 FOR 157.0; } } TRANSITION_LIST("Q[6]") { NODE { REPEAT = 1; LEVEL X FOR 99.0; LEVEL 0 FOR 157.0; } } TRANSITION_LIST("Q[5]") { NODE { REPEAT = 1; LEVEL X FOR 99.0; LEVEL 0 FOR 157.0; } } TRANSITION_LIST("Q[4]") { NODE { REPEAT = 1; LEVEL X FOR 99.0; LEVEL 0 FOR 157.0; } } TRANSITION_LIST("Q[3]") { NODE { REPEAT = 1; LEVEL X FOR 99.0; LEVEL 0 FOR 157.0; } } TRANSITION_LIST("Q[2]") { NODE { REPEAT = 1; LEVEL X FOR 99.0; LEVEL 0 FOR 157.0; } } TRANSITION_LIST("Q[1]") { NODE { REPEAT = 1; LEVEL X FOR 99.0; LEVEL 0 FOR 157.0; } } TRANSITION_LIST("Q[0]") { NODE { REPEAT = 1; LEVEL X FOR 99.0; LEVEL 0 FOR 157.0; } } DISPLAY_LINE { CHANNEL = "CLK"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 0; TREE_LEVEL = 0; } DISPLAY_LINE { CHANNEL = "D"; EXPAND_STATUS = EXPANDED; RADIX = Binary; TREE_INDEX = 1; TREE_LEVEL = 0; CHILDREN = 2, 3, 4, 5, 6, 7, 8, 9; } DISPLAY_LINE { CHANNEL = "D[7]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 2; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "D[6]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 3; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "D[5]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 4; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "D[4]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 5; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "D[3]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 6; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "D[2]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 7; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "D[1]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 8; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "D[0]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 9; TREE_LEVEL = 1; PARENT = 1; } DISPLAY_LINE { CHANNEL = "Q"; EXPAND_STATUS = EXPANDED; RADIX = Binary; TREE_INDEX = 10; TREE_LEVEL = 0; CHILDREN = 11, 12, 13, 14, 15, 16, 17, 18; } DISPLAY_LINE { CHANNEL = "Q[7]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 11; TREE_LEVEL = 1; PARENT = 10; } DISPLAY_LINE { CHANNEL = "Q[6]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 12; TREE_LEVEL = 1; PARENT = 10; } DISPLAY_LINE { CHANNEL = "Q[5]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 13; TREE_LEVEL = 1; PARENT = 10; } DISPLAY_LINE { CHANNEL = "Q[4]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 14; TREE_LEVEL = 1; PARENT = 10; } DISPLAY_LINE { CHANNEL = "Q[3]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 15; TREE_LEVEL = 1; PARENT = 10; } DISPLAY_LINE { CHANNEL = "Q[2]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 16; TREE_LEVEL = 1; PARENT = 10; } DISPLAY_LINE { CHANNEL = "Q[1]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 17; TREE_LEVEL = 1; PARENT = 10; } DISPLAY_LINE { CHANNEL = "Q[0]"; EXPAND_STATUS = COLLAPSED; RADIX = Binary; TREE_INDEX = 18; TREE_LEVEL = 1; PARENT = 10; } TIME_BAR { TIME = 0; MASTER = TRUE; } ;