You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.2 KiB
Plaintext
76 lines
2.2 KiB
Plaintext
#! /usr/local/Cellar/icarus-verilog/12.0/bin/vvp
|
|
:ivl_version "12.0 (stable)";
|
|
:ivl_delay_selection "TYPICAL";
|
|
:vpi_time_precision - 9;
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/system.vpi";
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/vhdl_sys.vpi";
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/vhdl_textio.vpi";
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/v2005_math.vpi";
|
|
:vpi_module "/usr/local/Cellar/icarus-verilog/12.0/lib/ivl/va_math.vpi";
|
|
S_0x7f94c3905560 .scope module, "tb_lm" "tb_lm" 2 3;
|
|
.timescale -9 -9;
|
|
v0x7f94c390a240_0 .var "k_1", 0 0;
|
|
v0x7f94c3919630_0 .var "k_2", 0 0;
|
|
v0x7f94c39196d0_0 .var "key", 0 0;
|
|
v0x7f94c3919760_0 .var "sys_clk", 0 0;
|
|
v0x7f94c3919800_0 .var "sys_rst", 0 0;
|
|
.scope S_0x7f94c3905560;
|
|
T_0 ;
|
|
%delay 10, 0;
|
|
%load/vec4 v0x7f94c3919760_0;
|
|
%inv;
|
|
%store/vec4 v0x7f94c3919760_0, 0, 1;
|
|
%jmp T_0;
|
|
.thread T_0;
|
|
.scope S_0x7f94c3905560;
|
|
T_1 ;
|
|
%pushi/vec4 0, 0, 1;
|
|
%assign/vec4 v0x7f94c3919760_0, 0;
|
|
%pushi/vec4 0, 0, 1;
|
|
%assign/vec4 v0x7f94c3919800_0, 0;
|
|
%delay 200, 0;
|
|
%pushi/vec4 1, 0, 1;
|
|
%assign/vec4 v0x7f94c3919800_0, 0;
|
|
%delay 2000, 0;
|
|
%pushi/vec4 1, 0, 1;
|
|
%assign/vec4 v0x7f94c39196d0_0, 0;
|
|
%delay 2, 0;
|
|
%pushi/vec4 0, 0, 1;
|
|
%assign/vec4 v0x7f94c39196d0_0, 0;
|
|
%delay 2, 0;
|
|
%pushi/vec4 1, 0, 1;
|
|
%assign/vec4 v0x7f94c39196d0_0, 0;
|
|
%delay 2, 0;
|
|
%pushi/vec4 0, 0, 1;
|
|
%assign/vec4 v0x7f94c39196d0_0, 0;
|
|
%delay 2, 0;
|
|
%pushi/vec4 1, 0, 1;
|
|
%assign/vec4 v0x7f94c39196d0_0, 0;
|
|
%delay 2, 0;
|
|
%pushi/vec4 0, 0, 1;
|
|
%assign/vec4 v0x7f94c39196d0_0, 0;
|
|
%delay 2, 0;
|
|
%pushi/vec4 2, 0, 2;
|
|
%split/vec4 1;
|
|
%assign/vec4 v0x7f94c390a240_0, 0;
|
|
%assign/vec4 v0x7f94c3919630_0, 0;
|
|
%delay 3900, 0;
|
|
%pushi/vec4 1, 0, 2;
|
|
%split/vec4 1;
|
|
%assign/vec4 v0x7f94c390a240_0, 0;
|
|
%assign/vec4 v0x7f94c3919630_0, 0;
|
|
%delay 3800, 0;
|
|
%pushi/vec4 1, 0, 1;
|
|
%assign/vec4 v0x7f94c39196d0_0, 0;
|
|
%delay 2, 0;
|
|
%pushi/vec4 0, 0, 1;
|
|
%assign/vec4 v0x7f94c39196d0_0, 0;
|
|
%delay 2, 0;
|
|
%end;
|
|
.thread T_1;
|
|
# The file index is used to find the file name in the following table.
|
|
:file_names 3;
|
|
"N/A";
|
|
"<interactive>";
|
|
"tb_lm_2.v";
|