#! /usr/local/Cellar/icarus-verilog/12.0/bin/vvp :ivl_version "12.0 (stable)"; :ivl_delay_selection "TYPICAL"; :vpi_time_precision + 0; :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_0x7fde7b104830 .scope module, "fifo_wr" "fifo_wr" 2 3; .timescale 0 0; .port_info 0 /INPUT 1 "wr_clk"; .port_info 1 /INPUT 1 "rst"; .port_info 2 /INPUT 1 "is_empty"; .port_info 3 /INPUT 1 "is_almost_full"; .port_info 4 /INPUT 1 "is_wr_rst_busy"; .port_info 5 /OUTPUT 1 "fifo_wr_en"; .port_info 6 /OUTPUT 8 "fifo_wr_data"; v0x7fde7b104b00_0 .var "fifo_wr_data", 7 0; v0x7fde7b114bc0_0 .var "fifo_wr_en", 0 0; o0x7fde7b232068 .functor BUFZ 1, C4; HiZ drive v0x7fde7b114c60_0 .net "is_almost_full", 0 0, o0x7fde7b232068; 0 drivers o0x7fde7b232098 .functor BUFZ 1, C4; HiZ drive v0x7fde7b114cf0_0 .net "is_empty", 0 0, o0x7fde7b232098; 0 drivers v0x7fde7b114d90_0 .var "is_empty_0", 0 0; v0x7fde7b114e70_0 .var "is_empty_1", 0 0; o0x7fde7b232128 .functor BUFZ 1, C4; HiZ drive v0x7fde7b114f10_0 .net "is_wr_rst_busy", 0 0, o0x7fde7b232128; 0 drivers o0x7fde7b232158 .functor BUFZ 1, C4; HiZ drive v0x7fde7b114fb0_0 .net "rst", 0 0, o0x7fde7b232158; 0 drivers o0x7fde7b232188 .functor BUFZ 1, C4; HiZ drive v0x7fde7b115050_0 .net "wr_clk", 0 0, o0x7fde7b232188; 0 drivers E_0x7fde7b104aa0/0 .event negedge, v0x7fde7b114fb0_0; E_0x7fde7b104aa0/1 .event posedge, v0x7fde7b115050_0; E_0x7fde7b104aa0 .event/or E_0x7fde7b104aa0/0, E_0x7fde7b104aa0/1; .scope S_0x7fde7b104830; T_0 ; %wait E_0x7fde7b104aa0; %load/vec4 v0x7fde7b114fb0_0; %nor/r; %flag_set/vec4 8; %jmp/0xz T_0.0, 8; %pushi/vec4 0, 0, 1; %assign/vec4 v0x7fde7b114d90_0, 0; %pushi/vec4 0, 0, 1; %assign/vec4 v0x7fde7b114e70_0, 0; %jmp T_0.1; T_0.0 ; %load/vec4 v0x7fde7b114cf0_0; %assign/vec4 v0x7fde7b114d90_0, 0; %load/vec4 v0x7fde7b114d90_0; %assign/vec4 v0x7fde7b114e70_0, 0; T_0.1 ; %jmp T_0; .thread T_0; .scope S_0x7fde7b104830; T_1 ; %wait E_0x7fde7b104aa0; %load/vec4 v0x7fde7b114fb0_0; %nor/r; %flag_set/vec4 8; %jmp/0xz T_1.0, 8; %pushi/vec4 0, 0, 1; %assign/vec4 v0x7fde7b114bc0_0, 0; %jmp T_1.1; T_1.0 ; %load/vec4 v0x7fde7b114f10_0; %nor/r; %flag_set/vec4 8; %jmp/0xz T_1.2, 8; %load/vec4 v0x7fde7b114e70_0; %flag_set/vec4 8; %jmp/0xz T_1.4, 8; %pushi/vec4 1, 0, 1; %assign/vec4 v0x7fde7b114bc0_0, 0; %jmp T_1.5; T_1.4 ; %load/vec4 v0x7fde7b114c60_0; %flag_set/vec4 8; %jmp/0xz T_1.6, 8; %pushi/vec4 0, 0, 1; %assign/vec4 v0x7fde7b114bc0_0, 0; T_1.6 ; T_1.5 ; T_1.2 ; T_1.1 ; %jmp T_1; .thread T_1; .scope S_0x7fde7b104830; T_2 ; %wait E_0x7fde7b104aa0; %load/vec4 v0x7fde7b114fb0_0; %nor/r; %flag_set/vec4 8; %jmp/0xz T_2.0, 8; %pushi/vec4 0, 0, 8; %assign/vec4 v0x7fde7b104b00_0, 0; %jmp T_2.1; T_2.0 ; %load/vec4 v0x7fde7b114bc0_0; %flag_set/vec4 9; %flag_get/vec4 9; %jmp/0 T_2.4, 9; %load/vec4 v0x7fde7b104b00_0; %cmpi/u 254, 0, 8; %flag_get/vec4 5; %and; T_2.4; %flag_set/vec4 8; %jmp/0xz T_2.2, 8; %load/vec4 v0x7fde7b104b00_0; %addi 1, 0, 8; %assign/vec4 v0x7fde7b104b00_0, 0; %jmp T_2.3; T_2.2 ; %pushi/vec4 0, 0, 8; %assign/vec4 v0x7fde7b104b00_0, 0; T_2.3 ; T_2.1 ; %jmp T_2; .thread T_2; # The file index is used to find the file name in the following table. :file_names 3; "N/A"; ""; "fifo_wr.v";