#! /usr/bin/vvp :ivl_version "11.0 (stable)"; :ivl_delay_selection "TYPICAL"; :vpi_time_precision + 0; :vpi_module "/usr/lib/x86_64-linux-gnu/ivl/system.vpi"; :vpi_module "/usr/lib/x86_64-linux-gnu/ivl/vhdl_sys.vpi"; :vpi_module "/usr/lib/x86_64-linux-gnu/ivl/vhdl_textio.vpi"; :vpi_module "/usr/lib/x86_64-linux-gnu/ivl/v2005_math.vpi"; :vpi_module "/usr/lib/x86_64-linux-gnu/ivl/va_math.vpi"; S_0x55b4b9d0fd50 .scope module, "ayarliSayacTB" "ayarliSayacTB" 2 1; .timescale 0 0; v0x55b4b9d66830_0 .var "clk", 0 0; v0x55b4b9d668f0_0 .var "en", 0 0; v0x55b4b9d669c0_0 .var "rst", 0 0; v0x55b4b9d66ac0_0 .net "sayac", 5 0, v0x55b4b9d664f0_0; 1 drivers v0x55b4b9d66b90_0 .var "sayma_miktari", 2 0; v0x55b4b9d66c80_0 .var "sayma_yonu", 0 0; S_0x55b4b9d0fee0 .scope module, "uut" "sayac" 2 8, 3 1 0, S_0x55b4b9d0fd50; .timescale 0 0; .port_info 0 /INPUT 1 "clk"; .port_info 1 /INPUT 1 "rst"; .port_info 2 /INPUT 1 "en"; .port_info 3 /INPUT 3 "sayma_miktari"; .port_info 4 /INPUT 1 "sayma_yonu"; .port_info 5 /OUTPUT 6 "sayac"; v0x55b4b9d4e5b0_0 .net "clk", 0 0, v0x55b4b9d66830_0; 1 drivers v0x55b4b9d66180_0 .var "clk_divider", 1 0; v0x55b4b9d66260_0 .net "en", 0 0, v0x55b4b9d668f0_0; 1 drivers v0x55b4b9d66300_0 .var "miktar", 2 0; v0x55b4b9d663e0_0 .net "rst", 0 0, v0x55b4b9d669c0_0; 1 drivers v0x55b4b9d664f0_0 .var "sayac", 5 0; v0x55b4b9d665d0_0 .net "sayma_miktari", 2 0, v0x55b4b9d66b90_0; 1 drivers v0x55b4b9d666b0_0 .net "sayma_yonu", 0 0, v0x55b4b9d66c80_0; 1 drivers E_0x55b4b9d4f1d0/0 .event negedge, v0x55b4b9d4e5b0_0; E_0x55b4b9d4f1d0/1 .event posedge, v0x55b4b9d663e0_0; E_0x55b4b9d4f1d0 .event/or E_0x55b4b9d4f1d0/0, E_0x55b4b9d4f1d0/1; .scope S_0x55b4b9d0fee0; T_0 ; %pushi/vec4 0, 0, 6; %store/vec4 v0x55b4b9d664f0_0, 0, 6; %pushi/vec4 0, 0, 2; %store/vec4 v0x55b4b9d66180_0, 0, 2; %pushi/vec4 0, 0, 3; %store/vec4 v0x55b4b9d66300_0, 0, 3; %end; .thread T_0; .scope S_0x55b4b9d0fee0; T_1 ; %wait E_0x55b4b9d4f1d0; %load/vec4 v0x55b4b9d663e0_0; %flag_set/vec4 8; %jmp/0xz T_1.0, 8; %pushi/vec4 0, 0, 6; %assign/vec4 v0x55b4b9d664f0_0, 0; %pushi/vec4 0, 0, 2; %assign/vec4 v0x55b4b9d66180_0, 0; %pushi/vec4 0, 0, 3; %assign/vec4 v0x55b4b9d66300_0, 0; %jmp T_1.1; T_1.0 ; %load/vec4 v0x55b4b9d66180_0; %addi 1, 0, 2; %assign/vec4 v0x55b4b9d66180_0, 0; %load/vec4 v0x55b4b9d66180_0; %cmpi/e 3, 0, 2; %jmp/0xz T_1.2, 4; %pushi/vec4 0, 0, 2; %assign/vec4 v0x55b4b9d66180_0, 0; %load/vec4 v0x55b4b9d66260_0; %flag_set/vec4 8; %jmp/0xz T_1.4, 8; %load/vec4 v0x55b4b9d665d0_0; %assign/vec4 v0x55b4b9d66300_0, 0; T_1.4 ; %load/vec4 v0x55b4b9d666b0_0; %flag_set/vec4 8; %jmp/0xz T_1.6, 8; %load/vec4 v0x55b4b9d664f0_0; %load/vec4 v0x55b4b9d66300_0; %pad/u 6; %add; %cmpi/u 63, 0, 6; %flag_inv 5; GE is !LT %jmp/0xz T_1.8, 5; %pushi/vec4 63, 0, 6; %assign/vec4 v0x55b4b9d664f0_0, 0; %jmp T_1.9; T_1.8 ; %load/vec4 v0x55b4b9d664f0_0; %load/vec4 v0x55b4b9d66300_0; %pad/u 6; %add; %assign/vec4 v0x55b4b9d664f0_0, 0; T_1.9 ; %jmp T_1.7; T_1.6 ; %load/vec4 v0x55b4b9d664f0_0; %load/vec4 v0x55b4b9d66300_0; %pad/u 6; %cmp/u; %flag_or 5, 4; %jmp/0xz T_1.10, 5; %pushi/vec4 0, 0, 6; %assign/vec4 v0x55b4b9d664f0_0, 0; %jmp T_1.11; T_1.10 ; %load/vec4 v0x55b4b9d664f0_0; %load/vec4 v0x55b4b9d66300_0; %pad/u 6; %sub; %assign/vec4 v0x55b4b9d664f0_0, 0; T_1.11 ; T_1.7 ; T_1.2 ; T_1.1 ; %jmp T_1; .thread T_1; .scope S_0x55b4b9d0fd50; T_2 ; %load/vec4 v0x55b4b9d66830_0; %inv; %store/vec4 v0x55b4b9d66830_0, 0, 1; %delay 1, 0; %jmp T_2; .thread T_2; .scope S_0x55b4b9d0fd50; T_3 ; %vpi_call 2 22 "$dumpfile", "ayarliSayac.vcd" {0 0 0}; %vpi_call 2 23 "$dumpvars" {0 0 0}; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66830_0, 0, 1; %pushi/vec4 0, 0, 1; %store/vec4 v0x55b4b9d669c0_0, 0, 1; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d668f0_0, 0, 1; %pushi/vec4 7, 0, 3; %store/vec4 v0x55b4b9d66b90_0, 0, 3; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66c80_0, 0, 1; %delay 32, 0; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66830_0, 0, 1; %pushi/vec4 0, 0, 1; %store/vec4 v0x55b4b9d669c0_0, 0, 1; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d668f0_0, 0, 1; %pushi/vec4 7, 0, 3; %store/vec4 v0x55b4b9d66b90_0, 0, 3; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66c80_0, 0, 1; %delay 8, 0; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66830_0, 0, 1; %pushi/vec4 0, 0, 1; %store/vec4 v0x55b4b9d669c0_0, 0, 1; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d668f0_0, 0, 1; %pushi/vec4 7, 0, 3; %store/vec4 v0x55b4b9d66b90_0, 0, 3; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66c80_0, 0, 1; %delay 64, 0; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66830_0, 0, 1; %pushi/vec4 0, 0, 1; %store/vec4 v0x55b4b9d669c0_0, 0, 1; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d668f0_0, 0, 1; %pushi/vec4 7, 0, 3; %store/vec4 v0x55b4b9d66b90_0, 0, 3; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66c80_0, 0, 1; %delay 16, 0; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66830_0, 0, 1; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d669c0_0, 0, 1; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d668f0_0, 0, 1; %pushi/vec4 2, 0, 3; %store/vec4 v0x55b4b9d66b90_0, 0, 3; %pushi/vec4 1, 0, 1; %store/vec4 v0x55b4b9d66c80_0, 0, 1; %delay 8, 0; %vpi_call 2 29 "$finish" {0 0 0}; %end; .thread T_3; # The file index is used to find the file name in the following table. :file_names 4; "N/A"; ""; "ayarliSayacTB.v"; "sayac.v";