#! /c/Source/iverilog-install/bin/vvp :ivl_version "12.0 (devel)" "(s20150603-1539-g2693dd32b)"; :ivl_delay_selection "TYPICAL"; :vpi_time_precision - 12; :vpi_module "C:\iverilog\lib\ivl\system.vpi"; :vpi_module "C:\iverilog\lib\ivl\vhdl_sys.vpi"; :vpi_module "C:\iverilog\lib\ivl\vhdl_textio.vpi"; :vpi_module "C:\iverilog\lib\ivl\v2005_math.vpi"; :vpi_module "C:\iverilog\lib\ivl\va_math.vpi"; :vpi_module "C:\iverilog\lib\ivl\v2009.vpi"; S_000001f5da0bb6f0 .scope package, "$unit" "$unit" 2 1; .timescale 0 0; S_000001f5da114bb0 .scope module, "tb_seq_detector_1011" "tb_seq_detector_1011" 3 4; .timescale -9 -12; v000001f5da114870_0 .var "clk", 0 0; v000001f5da114550_0 .net "detected", 0 0, L_000001f5da114230; 1 drivers v000001f5da114190_0 .var "in", 0 0; v000001f5da114af0_0 .var "rst", 0 0; S_000001f5da107720 .scope module, "dut" "seq_detector_1011" 3 11, 4 1 0, S_000001f5da114bb0; .timescale 0 0; .port_info 0 /INPUT 1 "clk"; .port_info 1 /INPUT 1 "rst"; .port_info 2 /INPUT 1 "in"; .port_info 3 /OUTPUT 1 "detected"; enum000001f5da10d830 .enum4 (3) "IDLE" 3'b000, "S1" 3'b001, "S10" 3'b010, "S101" 3'b011, "S1011" 3'b100 ; L_000001f5da167248 .functor BUFT 1, C4<100>, C4<0>, C4<0>, C4<0>; v000001f5da1145f0_0 .net/2u *"_ivl_0", 2 0, L_000001f5da167248; 1 drivers v000001f5da114a50_0 .net "clk", 0 0, v000001f5da114870_0; 1 drivers v000001f5da114730_0 .var "current_state", 2 0; v000001f5da1144b0_0 .net "detected", 0 0, L_000001f5da114230; alias, 1 drivers v000001f5da113f10_0 .net "in", 0 0, v000001f5da114190_0; 1 drivers v000001f5da1140f0_0 .var "next_state", 2 0; v000001f5da1149b0_0 .net "rst", 0 0, v000001f5da114af0_0; 1 drivers E_000001f5da10ea80 .event anyedge, v000001f5da114730_0, v000001f5da113f10_0; E_000001f5da10e440 .event posedge, v000001f5da114a50_0; L_000001f5da114230 .cmp/eq 3, v000001f5da114730_0, L_000001f5da167248; .scope S_000001f5da107720; T_0 ; %wait E_000001f5da10e440; %load/vec4 v000001f5da1149b0_0; %flag_set/vec4 8; %jmp/0xz T_0.0, 8; %pushi/vec4 0, 0, 3; %assign/vec4 v000001f5da114730_0, 0; %jmp T_0.1; T_0.0 ; %load/vec4 v000001f5da1140f0_0; %assign/vec4 v000001f5da114730_0, 0; T_0.1 ; %jmp T_0; .thread T_0; .scope S_000001f5da107720; T_1 ; Ewait_0 .event/or E_000001f5da10ea80, E_0x0; %wait Ewait_0; %pushi/vec4 0, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; %load/vec4 v000001f5da114730_0; %dup/vec4; %pushi/vec4 0, 0, 3; %cmp/u; %jmp/1 T_1.0, 6; %dup/vec4; %pushi/vec4 1, 0, 3; %cmp/u; %jmp/1 T_1.1, 6; %dup/vec4; %pushi/vec4 2, 0, 3; %cmp/u; %jmp/1 T_1.2, 6; %dup/vec4; %pushi/vec4 3, 0, 3; %cmp/u; %jmp/1 T_1.3, 6; %dup/vec4; %pushi/vec4 4, 0, 3; %cmp/u; %jmp/1 T_1.4, 6; %pushi/vec4 0, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; %jmp T_1.6; T_1.0 ; %load/vec4 v000001f5da113f10_0; %flag_set/vec4 8; %jmp/0xz T_1.7, 8; %pushi/vec4 1, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; %jmp T_1.8; T_1.7 ; %pushi/vec4 0, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; T_1.8 ; %jmp T_1.6; T_1.1 ; %load/vec4 v000001f5da113f10_0; %flag_set/vec4 8; %jmp/0xz T_1.9, 8; %pushi/vec4 1, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; %jmp T_1.10; T_1.9 ; %pushi/vec4 2, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; T_1.10 ; %jmp T_1.6; T_1.2 ; %load/vec4 v000001f5da113f10_0; %flag_set/vec4 8; %jmp/0xz T_1.11, 8; %pushi/vec4 3, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; %jmp T_1.12; T_1.11 ; %pushi/vec4 0, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; T_1.12 ; %jmp T_1.6; T_1.3 ; %load/vec4 v000001f5da113f10_0; %flag_set/vec4 8; %jmp/0xz T_1.13, 8; %pushi/vec4 4, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; %jmp T_1.14; T_1.13 ; %pushi/vec4 2, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; T_1.14 ; %jmp T_1.6; T_1.4 ; %load/vec4 v000001f5da113f10_0; %flag_set/vec4 8; %jmp/0xz T_1.15, 8; %pushi/vec4 1, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; %jmp T_1.16; T_1.15 ; %pushi/vec4 2, 0, 3; %store/vec4 v000001f5da1140f0_0, 0, 3; T_1.16 ; %jmp T_1.6; T_1.6 ; %pop/vec4 1; %jmp T_1; .thread T_1, $push; .scope S_000001f5da114bb0; T_2 ; %pushi/vec4 0, 0, 1; %store/vec4 v000001f5da114870_0, 0, 1; T_2.0 ; %delay 5000, 0; %load/vec4 v000001f5da114870_0; %inv; %store/vec4 v000001f5da114870_0, 0, 1; %jmp T_2.0; %end; .thread T_2; .scope S_000001f5da114bb0; T_3 ; %vpi_call/w 3 24 "$dumpfile", "seq_detector_1011.vcd" {0 0 0}; %vpi_call/w 3 25 "$dumpvars", 32'sb00000000000000000000000000000000, S_000001f5da114bb0 {0 0 0}; %pushi/vec4 1, 0, 1; %store/vec4 v000001f5da114af0_0, 0, 1; %pushi/vec4 0, 0, 1; %store/vec4 v000001f5da114190_0, 0, 1; %delay 20000, 0; %wait E_000001f5da10e440; %pushi/vec4 0, 0, 1; %assign/vec4 v000001f5da114af0_0, 0; %pushi/vec4 1, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 0, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 1, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 1, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 0, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 1, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 1, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 0, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 1, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 0, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 1, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 1, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %wait E_000001f5da10e440; %pushi/vec4 0, 0, 1; %assign/vec4 v000001f5da114190_0, 0; %pushi/vec4 2, 0, 32; T_3.0 %dup/vec4; %pushi/vec4 0, 0, 32; %cmp/s; %jmp/1xz T_3.1, 5; %jmp/1 T_3.1, 4; %pushi/vec4 1, 0, 32; %sub; %wait E_000001f5da10e440; %jmp T_3.0; T_3.1 ; %pop/vec4 1; %vpi_call/w 3 53 "$display", "Fin de la simulation." {0 0 0}; %vpi_call/w 3 54 "$finish" {0 0 0}; %end; .thread T_3; # The file index is used to find the file name in the following table. :file_names 5; "N/A"; ""; "-"; "seq_detector_1011/tb_seq_detector_1011.sv"; "seq_detector_1011/seq_detector_1011.sv";