module_content
stringlengths
18
1.05M
module usdrx1_spi ( spi_afe_csn, spi_clk_csn, spi_clk, spi_mosi, spi_miso, spi_afe_sdio, spi_clk_sdio); // 4 wire input [ 3:0] spi_afe_csn; input spi_clk_csn; input spi_clk; input spi_mosi; output spi_miso; // 3 wire inout spi_afe_s...
module top(); // Inputs are registered reg A; reg B; reg C; reg D; reg VPWR; reg VGND; reg VPB; reg VNB; // Outputs are wires wire X; initial begin // Initial state is x for all inputs. A = 1'bX; B = 1'bX; C = 1'bX; ...
module SysPLL( // interface 'refclk' input wire refclk, // interface 'reset' input wire rst, // interface 'outclk0' output wire sdr_clk, // interface 'outclk1' output wire sys_clk, // interface 'outclk2' output wire vga_clk, output wire pit_clk, // interface 'locked' output wire locked ); ...
module spi_slave( input clk, input rst, input ss, input mosi, output miso, input sck, output done, input [7:0] din, input din_update, output [7:0] dout ); reg mosi_d, mosi_q; reg ss_d, ss_q; reg sck_d, sck_q; reg sck_old_d, sck_old_q; reg [7:0] data_d, data_q; reg done_d, do...
module hw1_A ( input [15:0] data, input [6:0] control, input clk, input rst_n, output reg [15:0] R0, output reg [15:0] R1, output reg [15:0] R2, output reg [15:0] R3 ); reg [15:0] tmpData; reg [15:0] T0, T1, T2, T3; always @(posedge clk or negedge rst_n) begin if (!rst_n) begin R0 <= 0; R1 <= 0; R2 <= 0...
module dly_16 #( parameter WIDTH=1 )( input clk, input rst, input [3:0] dly, input [WIDTH-1:0] din, output [WIDTH-1:0] dout ); generate genvar i; for (i=0; i < WIDTH; i=i+1) begin: bit_block dly01_16 dly01_16_i ( .clk(clk)...
module system_acl_iface_acl_kernel_interface_mm_interconnect_0 ( input wire kernel_clk_out_clk_clk, // kernel_clk_out_clk.clk input wire address_span_extender_0_reset_reset_bridge_in_reset_reset, // address_span_extender_0_reset_res...
module SDRAM_clock ( areset, inclk0, c0, locked); input areset; input inclk0; output c0; output locked; `ifndef ALTERA_RESERVED_QIS // synopsys translate_off `endif tri0 areset; `ifndef ALTERA_RESERVED_QIS // synopsys translate_on `endif endmodule
module ramcon( input reset_i, input clk2x_i, output [22:0] ram_adr_o, inout [15:0] ram_dq_io, output ram_ce_on, output ram_adv_on, output ram_oe_on, output ram_we_on, output ram_ub_on, output ram_lb_on, output ram_cre_o, output ram_clk_o, input ram_wait_i, output wb_ack_o, output [15:0] wb_...
module sky130_fd_sc_hd__nand3_1 ( Y , A , B , C , VPWR, VGND, VPB , VNB ); output Y ; input A ; input B ; input C ; input VPWR; input VGND; input VPB ; input VNB ; sky130_fd_sc_hd__nand3 base ( .Y(Y), .A(A), ...
module sky130_fd_sc_hd__nand3_1 ( Y, A, B, C ); output Y; input A; input B; input C; // Voltage supply signals supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; sky130_fd_sc_hd__nand3 base ( .Y(Y), .A(A), .B(B), .C(C) ...
module sky130_fd_sc_ls__xnor2 ( //# {{data|Data Signals}} input A , input B , output Y , //# {{power|Power}} input VPB , input VPWR, input VGND, input VNB ); endmodule
module top(); // Inputs are registered reg A0; reg A1; reg A2; reg A3; reg S0; reg S1; reg VPWR; reg VGND; reg VPB; reg VNB; // Outputs are wires wire X; initial begin // Initial state is x for all inputs. A0 = 1'bX; A1 = 1'bX; ...
module spi_slave( clk,sck,mosi,miso,ssel,rst_n,recived_status ); input clk; input rst_n; input sck,mosi,ssel; output miso; output recived_status; reg recived_status; reg[2:0] sckr; reg[2:0] sselr; reg[1:0] mosir; reg[2:0] bitcnt; reg[7:0] bytecnt; reg byte_received; // high when a byte has been received reg [7:0] by...
module ecc_merge_enc #( parameter TCQ = 100, parameter PAYLOAD_WIDTH = 64, parameter CODE_WIDTH = 72, parameter DATA_BUF_ADDR_WIDTH = 4, parameter DATA_BUF_OFFSET_WIDTH = 1, parameter DATA_WIDTH = 64, parameter DQ_WIDTH = 72, parameter ECC_W...
module ALU16(A, B, sel, out); input [15:0] A, B; input [2:0] sel; output [15:0] out; assign less = 1'b0;; //Still need to account for less wire [15:0] c; wire set; alu_slice a1(A[0], B[0], sel[2], set, sel, c[0], out[0]); alu_slice a2(A[1], B[1], c[0], less, sel, c[1], out[1]); ...
module image_to_ppfifo #( parameter BUFFER_SIZE = 10 )( input clk, input rst, input i_enable, input i_hsync, // vga hsync signal input i_vsync, // vga vsync signal input [2:0] i_red, // vga red signal input ...
module sky130_fd_sc_ms__a221o_1 ( X , A1 , A2 , B1 , B2 , C1 , VPWR, VGND, VPB , VNB ); output X ; input A1 ; input A2 ; input B1 ; input B2 ; input C1 ; input VPWR; input VGND; input VPB ; input VNB ; sky130_fd_...
module sky130_fd_sc_ms__a221o_1 ( X , A1, A2, B1, B2, C1 ); output X ; input A1; input A2; input B1; input B2; input C1; // Voltage supply signals supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; sky130_fd_sc_ms__a221o base ( ...
module cordic( clk, xI, // Input X value yI, // Input Y Value angle, // Rotation angle in radians xO, yO ); // Bitness of all relevant buses parameter WIDTH = 16; parameter ANGLE_WIDTH = 32; parameter ATAN_INITIAL_FILE = "../mems/atan16_32.hex"; // Inputs /* verilator lint_off UNUSED */ input c...
module gcd_zynq_snick_gcd_0_0(s_axi_gcd_bus_AWADDR, s_axi_gcd_bus_AWVALID, s_axi_gcd_bus_AWREADY, s_axi_gcd_bus_WDATA, s_axi_gcd_bus_WSTRB, s_axi_gcd_bus_WVALID, s_axi_gcd_bus_WREADY, s_axi_gcd_bus_BRESP, s_axi_gcd_bus_BVALID, s_axi_gcd_bus_BREADY, s_axi_gcd_bus_ARADDR, s_axi_gcd_bus_ARVALID, s_axi_gcd_...
module soc_system_pll_pwm( // interface 'refclk' input wire refclk, // interface 'reset' input wire rst, // interface 'outclk0' output wire outclk_0, // interface 'locked' output wire locked ); altera_pll #( .fractional_vco_multiplier("false"), .reference_clock_frequency("25.0 MHz"), .operation_mod...
module sky130_fd_sc_hd__probe_p ( X , A , VGND, VNB , VPB , VPWR ); // Module ports output X ; input A ; input VGND; input VNB ; input VPB ; input VPWR; // Local signals wire buf0_out_X ; wire pwrgood_pp0_out_X; // ...
module sky130_fd_sc_hdll__tapvgnd2 ( VPWR, VGND, VPB , VNB ); input VPWR; input VGND; input VPB ; input VNB ; endmodule
module int16_float32_altbarrel_shift_gof ( aclr, clk_en, clock, data, distance, result) ; input aclr; input clk_en; input clock; input [15:0] data; input [3:0] distance; output [15:0] result; `ifndef ALTERA_RESERVED_QIS // synopsys translate_off `endif tri0 aclr; tri1 clk_en; tri0 ...
module int16_float32_altpriority_encoder_3v7 ( data, q) ; input [1:0] data; output [0:0] q; assign q = {data[1]}; endmodule
module int16_float32_altpriority_encoder_3e8 ( data, q, zero) ; input [1:0] data; output [0:0] q; output zero; assign q = {data[1]}, zero = (~ (data[0] | data[1])); endmodule
module int16_float32_altpriority_encoder_6v7 ( data, q) ; input [3:0] data; output [1:0] q; wire [0:0] wire_altpriority_encoder10_q; wire [0:0] wire_altpriority_encoder11_q; wire wire_altpriority_encoder11_zero; int16_float32_altpriority_encoder_3v7 altpriority_encoder10 ( .data(data[1:0]...
module int16_float32_altpriority_encoder_6e8 ( data, q, zero) ; input [3:0] data; output [1:0] q; output zero; wire [0:0] wire_altpriority_encoder12_q; wire wire_altpriority_encoder12_zero; wire [0:0] wire_altpriority_encoder13_q; wire wire_altpriority_encoder13_zero; int16_float32_altpr...
module int16_float32_altpriority_encoder_bv7 ( data, q) ; input [7:0] data; output [2:0] q; wire [1:0] wire_altpriority_encoder8_q; wire [1:0] wire_altpriority_encoder9_q; wire wire_altpriority_encoder9_zero; int16_float32_altpriority_encoder_6v7 altpriority_encoder8 ( .data(data[3:0]), ...
module int16_float32_altpriority_encoder_be8 ( data, q, zero) ; input [7:0] data; output [2:0] q; output zero; wire [1:0] wire_altpriority_encoder14_q; wire wire_altpriority_encoder14_zero; wire [1:0] wire_altpriority_encoder15_q; wire wire_altpriority_encoder15_zero; int16_float32_altpr...
module int16_float32_altpriority_encoder_rb6 ( data, q) ; input [15:0] data; output [3:0] q; wire [2:0] wire_altpriority_encoder6_q; wire [2:0] wire_altpriority_encoder7_q; wire wire_altpriority_encoder7_zero; int16_float32_altpriority_encoder_bv7 altpriority_encoder6 ( .data(data[7:0]), ...
module int16_float32_altfp_convert_bqm ( clock, dataa, result) ; input clock; input [15:0] dataa; output [31:0] result; wire [15:0] wire_altbarrel_shift5_result; wire [3:0] wire_altpriority_encoder2_q; reg [7:0] exponent_bus_pre_reg; reg [7:0] exponent_bus_pre_reg2; reg [7:0] exponent_bus_p...
module int16_float32 ( clock, dataa, result); input clock; input [15:0] dataa; output [31:0] result; wire [31:0] sub_wire0; wire [31:0] result = sub_wire0[31:0]; int16_float32_altfp_convert_bqm int16_float32_altfp_convert_bqm_component ( .clock (clock), .dataa (dataa), .result (sub_wire0)); ...
module full_adder (a0, b0, c0, a1, b1, c_out, s_out, s2, s3); // Inputs_top input a0; input b0; input c0; input a1; input b1; // End of inputs_top // Outputs_top output c_out; output s_out; output s2; output d1; output s3; // End of outputs_top // Wires wire c1; wire c2; wire s1; wire...
module sky130_fd_sc_lp__ha ( COUT, SUM , A , B , VPWR, VGND, VPB , VNB ); // Module ports output COUT; output SUM ; input A ; input B ; input VPWR; input VGND; input VPB ; input VNB ; // Local signals wire and0_out_COUT ; ...
module ADT7310 ( (* intersynth_port = "Reset_n_i", src = "../../verilog/adt7310.v:3" *) input Reset_n_i, (* intersynth_port = "Clk_i", src = "../../verilog/adt7310.v:5" *) input Clk_i, (* intersynth_conntype = "Bit", intersynth_port = "ReconfModuleIn_s", src = "../../verilog/adt7310.v:7" *) input Enable_i, ...
module sky130_fd_sc_hd__mux4 ( X , A0 , A1 , A2 , A3 , S0 , S1 , VPWR, VGND, VPB , VNB ); // Module ports output X ; input A0 ; input A1 ; input A2 ; input A3 ; input S0 ; input S1 ; input VPWR; input VGND; ...
module FPU_PIPELINED_FPADDSUB_W64_EW11_SW52_SWR55_EWR6 ( clk, rst, beg_OP, Data_X, Data_Y, add_subt, busy, overflow_flag, underflow_flag, zero_flag, ready, final_result_ieee ); input [63:0] Data_X; input [63:0] Data_Y; output [63:0] final_result_ieee; input clk, rst, beg_OP, add_subt; output...
module sky130_fd_sc_ls__or4bb ( X , A , B , C_N , D_N , VPWR, VGND, VPB , VNB ); output X ; input A ; input B ; input C_N ; input D_N ; input VPWR; input VGND; input VPB ; input VNB ; endmodule
module sky130_fd_sc_ms__mux2i ( Y , A0, A1, S ); output Y ; input A0; input A1; input S ; // Voltage supply signals supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; endmodule
module decoder( input i_clk, input i_reset, input i_ready, input[31:0] i_data, output[1:0] o_instr_size); string mnemonic; reg[31:0] opcode; reg[1:0] instr_size; assign o_instr_size = instr_size; reg[`SIZE_DECODE_REG-1:0] decode_reg; reg[`SIZE_DECODE_REG-1:0] decode_tmp_reg...
module t_ram ( aclr, clock, data, rdaddress, rden, wraddress, wren, q); input aclr; input clock; input [26:0] data; input [14:0] rdaddress; input rden; input [14:0] wraddress; input wren; output [26:0] q; `ifndef ALTERA_RESERVED_QIS // synopsys translate_off `endif tri0 aclr; tri1 clo...
module axi_slave_v1_0 # ( // Users to add parameters here // User parameters ends // Do not modify the parameters beyond this line // Parameters of Axi Slave Bus Interface S00_AXI parameter integer C_S00_AXI_DATA_WIDTH = 32, parameter integer C_S00_AXI_ADDR_WIDTH = 11 ) ( // Users...
module sky130_fd_sc_ms__nand4b_2 ( Y , A_N , B , C , D , VPWR, VGND, VPB , VNB ); output Y ; input A_N ; input B ; input C ; input D ; input VPWR; input VGND; input VPB ; input VNB ; sky130_fd_sc_ms__nand4b base ( ...
module sky130_fd_sc_ms__nand4b_2 ( Y , A_N, B , C , D ); output Y ; input A_N; input B ; input C ; input D ; // Voltage supply signals supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; sky130_fd_sc_ms__nand4b base ( .Y(Y), ...
module sbn (clk, state, PC, a, b); parameter fwidth = 8; // field width of sbn operand parameter dwidth = 32; input clk; output [2:0] state; output [fwidth-1:0] PC; output [dwidth-1:0] a, b; parameter iwidth = 4 * fwidth; reg [iwidth-1:0] imem[0:((1<<fwidth)-1)]; ...
module top; parameter fwidth = 8; // field width of sbn operand parameter dwidth = 32; parameter maximum = %MAX_STEPS%; parameter maxmone = maximum - 1; parameter step = 10; reg clk; wire [2:0] state; wire [fwidth-1:0] pc; wire [dwidth-1:0] a, b; sbn #(fwidth,dwidth) mach1 (c...
module uart_fifo_64x128 ( aclr, data, rdclk, rdreq, wrclk, wrreq, q, rdempty, wrfull); input aclr; input [7:0] data; input rdclk; input rdreq; input wrclk; input wrreq; output [7:0] q; output rdempty; output wrfull; `ifndef ALTERA_RESERVED_QIS // synopsys translat...
module BRAMFIFO #( parameter p1width = 32, parameter p2depth = 1024, parameter p3cntr_width = 10 ) ( input CLK, input RST_N, input [p1width-1:0] D_IN, output [p1width-1:0] D_OUT, input ENQ, input DEQ, output EMPTY_N, output FULL_N, output [p3cntr_width-1:0] COUNT, inp...
module top(); // Inputs are registered reg D; reg SET_B; reg RESET_B; reg VPWR; reg VGND; reg VPB; reg VNB; // Outputs are wires wire Q; wire Q_N; initial begin // Initial state is x for all inputs. D = 1'bX; RESET_B = 1'bX; SE...
module sky130_fd_sc_ls__dlygate4sd3 ( X, A ); // Module ports output X; input A; // Module supplies supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; // Local signals wire buf0_out_X; // Name Output Other arguments buf buf0 (buf0_out_X, A ...
module sky130_fd_sc_ls__fill_diode_2 ( VPWR, VGND, VPB , VNB ); input VPWR; input VGND; input VPB ; input VNB ; sky130_fd_sc_ls__fill_diode base ( .VPWR(VPWR), .VGND(VGND), .VPB(VPB), .VNB(VNB) ); endmodule
module sky130_fd_sc_ls__fill_diode_2 (); // Voltage supply signals supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; sky130_fd_sc_ls__fill_diode base (); endmodule
module zynq_design_1_rst_ps7_0_100M_1(slowest_sync_clk, ext_reset_in, aux_reset_in, mb_debug_sys_rst, dcm_locked, mb_reset, bus_struct_reset, peripheral_reset, interconnect_aresetn, peripheral_aresetn) /* synthesis syn_black_box black_box_pad_pin="slowest_sync_clk,ext_reset_in,aux_reset_in,mb_debug_sys_rst,dcm...
module pll ( inclk0, c0, c2, locked); input inclk0; output c0; output c2; output locked; wire [5:0] sub_wire0; wire sub_wire3; wire [0:0] sub_wire6 = 1'h0; wire [2:2] sub_wire2 = sub_wire0[2:2]; wire [0:0] sub_wire1 = sub_wire0[0:0]; wire c0 = sub_wire1; wire c2 = sub_wire2;...
module attosoc ( input clk, input reset, output reg [7:0] led ); reg [5:0] reset_cnt = 0; wire resetn = &reset_cnt; always @(posedge clk) begin if (reset) reset_cnt <= 0; else reset_cnt <= reset_cnt + !resetn; end parameter integer MEM_WORDS = 256; parameter [31:0] STACKADDR = (4*MEM_WORDS); ...
module picosoc_regs ( input clk, wen, input [5:0] waddr, input [5:0] raddr1, input [5:0] raddr2, input [31:0] wdata, output [31:0] rdata1, output [31:0] rdata2 ); reg [31:0] regs [0:31]; always @(posedge clk) if (wen) regs[waddr[4:0]] <= wdata; assign rdata1 = regs[raddr1[4:0]]; assign rdata2 = regs[radd...
module sky130_fd_sc_hs__or3 ( //# {{data|Data Signals}} input A, input B, input C, output X ); // Voltage supply signals supply1 VPWR; supply0 VGND; endmodule
module axis_eth_fcs_check_64 ( input wire clk, input wire rst, /* * AXI input */ input wire [63:0] s_axis_tdata, input wire [7:0] s_axis_tkeep, input wire s_axis_tvalid, output wire s_axis_tready, input wire s_axis_tlast, input...
module top(); // Inputs are registered reg D; reg SCD; reg SCE; reg SET_B; reg RESET_B; reg VPWR; reg VGND; reg VPB; reg VNB; // Outputs are wires wire Q; wire Q_N; initial begin // Initial state is x for all inputs. D = 1'bX; ...
module sky130_fd_sc_ms__fa ( COUT, SUM , A , B , CIN ); // Module ports output COUT; output SUM ; input A ; input B ; input CIN ; // Module supplies supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; // Local signals wire or0_out...
module tb_USER_LOGIC(); reg CLK, RST; wire chnl_rx_clk; wire chnl_rx; wire chnl_rx_ack; wire chnl_rx_last; wire [31:0] chnl_rx_len; wire [30:0] chnl_rx_off; wire [128-1:0] chnl_rx_data; wire chnl_rx_data_valid; wire chnl_rx_data_re...
module XORSHIFT #(parameter WIDTH = 32, parameter SEED = 1) (input wire CLK, input wire RST, input wire EN, output wire [WIDTH-1:0] RAND_VAL); reg [WIDTH-1:0] ...
module Host_to_FPGA(input wire CLK, input wire RST, input wire ren, output reg chnl_rx, output wire [`MERGW-1:0] dot, output wire doten, ...
module DRAM(input wire CLK, // input wire RST, // input wire [1:0] D_REQ, // dram request, load or store input wire [31:0] D_INITADR, // dram request, initial address input wire [31:0] D_ELEM, // dram re...
module sky130_fd_sc_hdll__a211o_2 ( X , A1 , A2 , B1 , C1 , VPWR, VGND, VPB , VNB ); output X ; input A1 ; input A2 ; input B1 ; input C1 ; input VPWR; input VGND; input VPB ; input VNB ; sky130_fd_sc_hdll__a211o base ( ...
module sky130_fd_sc_hdll__a211o_2 ( X , A1, A2, B1, C1 ); output X ; input A1; input A2; input B1; input C1; // Voltage supply signals supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; sky130_fd_sc_hdll__a211o base ( .X(X), .A1...
module sky130_fd_sc_lp__sregsbp ( Q , Q_N , CLK , D , SCD , SCE , ASYNC, VPWR , VGND , VPB , VNB ); // Module ports output Q ; output Q_N ; input CLK ; input D ; input SCD ; input SCE ; input ASYNC; input VPWR ; ...
module DE4_BERI ( ////// clock inputs //input GCLKIN, //output GCLKOUT_FPGA, //inout [2:0] MAX_CONF_D, //output [2:0] MAX_PLL_D, input OSC_50_Bank2, input OSC_50_Bank3, input OSC_50_Bank4, input OSC_50_Bank5, input OSC_50_Bank6, //input OSC_50_Bank7, //input PLL_CLKIN_p, `ifde...
module system_top ( ddr_addr, ddr_ba, ddr_cas_n, ddr_ck_n, ddr_ck_p, ddr_cke, ddr_cs_n, ddr_dm, ddr_dq, ddr_dqs_n, ddr_dqs_p, ddr_odt, ddr_ras_n, ddr_reset_n, ddr_we_n, fixed_io_ddr_vrn, fixed_io_ddr_vrp, fixed_io_mio, fixed_io_ps_clk, fixed_io_ps_porb, fixed_io_ps_srstb, ...
module tcp_ip_wrapper ( input aclk, input aresetn, input[47:0] myMacAddress, input[31:0] inputIpAddress, input dhcpEnable, output[31:0] ipAddressout, output[15:0] regSessionCount, output[15:0] relSessionCount, // Debug signals for the se...
module sky130_fd_sc_lp__isobufsrc ( X , SLEEP, A ); output X ; input SLEEP; input A ; // Voltage supply signals supply1 VPWR; supply0 VGND; supply1 VPB ; supply0 VNB ; endmodule
module KeyPadInterpreter( input Clock, input ResetButton, input KeyRead, input [3:0] RowDataIn, output KeyReady, output [3:0] DataOut, output [3:0] ColDataOut, output [3:0] PressCount ); //The keypad interpreter accepts typical inputs... // Clock, Reset //As well as KeyPad input/output connections... // ...
module sirv_qspi_physical_2( input clock, input reset, output io_port_sck, input io_port_dq_0_i, output io_port_dq_0_o, output io_port_dq_0_oe, input io_port_dq_1_i, output io_port_dq_1_o, output io_port_dq_1_oe, input io_port_dq_2_i, output io_port_dq_2_o, output io_port_dq_2_o...
module fpgaTop( input wire sys0_clkp, // sys0 Clock + input wire sys0_clkn, // sys0 Clock - input wire pci0_clkp, // PCIe Clock + input wire pci0_clkn, // PCIe Clock - input wire pci0_reset_n, // PCIe Reset output wire [7:0] pci_exp_txp, // PCIe la...
module Sobel_cache ( input clk, input rst, input start, input [ADD_WIDTH-1:0] base_add, input [13:0] rdaddress, output wire [12:0] valid_lines, input free_line, output wire [ 7:0] q, output wire [ADD_WIDTH-1:0] ram_r_address, input ...
module lf_edge_detect(input clk, input [7:0] adc_d, input [7:0] lf_ed_threshold, output [7:0] max, output [7:0] min, output [7:0] high_threshold, output [7:0] highz_threshold, output [7:0] lowz_threshold, output [7:0] low_threshold, output edge_state, output edge_toggle); min_max_tracker tracker(cl...
module sky130_fd_sc_lp__sdfrtp_ov2 ( Q , CLK , D , SCD , SCE , RESET_B, VPWR , VGND , VPB , VNB ); // Module ports output Q ; input CLK ; input D ; input SCD ; input SCE ; input RESET_B; input VPW...
module top(); // Inputs are registered reg A_N; reg B; reg C; reg VPWR; reg VGND; reg VPB; reg VNB; // Outputs are wires wire X; initial begin // Initial state is x for all inputs. A_N = 1'bX; B = 1'bX; C = 1'bX; VGND = 1'...
module sky130_fd_sc_hdll__or3 ( X , A , B , C , VPWR, VGND, VPB , VNB ); // Module ports output X ; input A ; input B ; input C ; input VPWR; input VGND; input VPB ; input VNB ; // Local signals wire or0_out_X ; ...
module sky130_fd_sc_hd__nor4b ( //# {{data|Data Signals}} input A , input B , input C , input D_N , output Y , //# {{power|Power}} input VPB , input VPWR, input VGND, input VNB ); endmodule
module wrap_ref_chroma ( clk , rstn , wrif_en_i , wrif_addr_i , wrif_data_i , rdif_en_i , rdif_addr_i , rdif_pdata_o ); // ******************************************** // // INPUT / OUTPUT DECLARATION // // *****************************...
module LUT4(input A, B, C, D, output Z); parameter INIT = "0x0000"; `include "parse_init.vh" localparam initp = parse_init(INIT); wire [7:0] s3 = D ? initp[15:8] : initp[7:0]; wire [3:0] s2 = C ? s3[ 7:4] : s3[3:0]; wire [1:0] s1 = B ? s2[ 3:2] : s2[1:0]; assign Z = A ? ...
module \$__ABC9_LUT5 (input SEL, D, C, B, A, output Z); specify (SEL => Z) = 171; (D => Z) = 303; (C => Z) = 311; (B => Z) = 309; (A => Z) = 306; endspecify endmodule
module WIDEFN9(input A0, B0, C0, D0, A1, B1, C1, D1, SEL, output Z); parameter INIT0 = "0x0000"; parameter INIT1 = "0x0000"; wire z0, z1; LUT4 #(.INIT(INIT0)) lut4_0 (.A(A0), .B(B0), .C(C0), .D(D0), .Z(z0)); LUT4 #(.INIT(INIT1)) lut4_1 (.A(A1), .B(B1), .C(C1), .D(D1), .Z(z1)); assign Z = SEL ? z1 : z0; endmodule
module INV(input A, output Z); assign Z = !A; specify (A => Z) = 10; endspecify endmodule
module BB(input T, I, output O, (* iopad_external_pin *) inout B); assign B = T ? 1'bz : O; assign I = B; endmodule
module IB( (* iopad_external_pin *) input I, output O); assign O = I; endmodule
module OB(input I, (* iopad_external_pin *) output O); assign O = I; endmodule
module OBZ(input I, T, (* iopad_external_pin *) output O); assign O = T ? 1'bz : I; endmodule
module VLO(output Z); assign Z = 1'b0; endmodule
module VHI(output Z); assign Z = 1'b1; endmodule
module FD1P3BX(input D, CK, SP, PD, output reg Q); parameter GSR = "DISABLED"; initial Q = 1'b1; always @(posedge CK or posedge PD) if (PD) Q <= 1'b1; else if (SP) Q <= D; specify $setup(D, posedge CK, 0); $setup(SP, posedge CK, 212); $setup(PD, posedge CK, 224); `ifndef YOSYS if (PD) (posedge CLK...
module FD1P3DX(input D, CK, SP, CD, output reg Q); parameter GSR = "DISABLED"; initial Q = 1'b0; always @(posedge CK or posedge CD) if (CD) Q <= 1'b0; else if (SP) Q <= D; specify $setup(D, posedge CK, 0); $setup(SP, posedge CK, 212); $setup(CD, posedge CK, 224); `ifndef YOSYS if (CD) (posedge CLK...
module FD1P3IX(input D, CK, SP, CD, output reg Q); parameter GSR = "DISABLED"; initial Q = 1'b0; always @(posedge CK) if (CD) Q <= 1'b0; else if (SP) Q <= D; specify $setup(D, posedge CK, 0); $setup(SP, posedge CK, 212); $setup(CD, posedge CK, 224); if (!CD && SP) (posedge CK => (Q : D)) = 336; e...
module FD1P3JX(input D, CK, SP, PD, output reg Q); parameter GSR = "DISABLED"; initial Q = 1'b1; always @(posedge CK) if (PD) Q <= 1'b1; else if (SP) Q <= D; specify $setup(D, posedge CK, 0); $setup(SP, posedge CK, 212); $setup(PD, posedge CK, 224); if (!PD && SP) (posedge CK => (Q : D)) = 336; e...
module LUT4_3(input A, B, C, D, output Z, Z3); parameter INIT = "0x0000"; `include "parse_init.vh" localparam initp = parse_init(INIT); wire [7:0] s3 = D ? initp[15:8] : initp[7:0]; wire [3:0] s2 = C ? s3[ 7:4] : s3[3:0]; wire [1:0] s1 = B ? s2[ 3:2] : s2[1:0]; assign Z = ...
module CCU2( (* abc9_carry *) input CIN, input A1, B1, C1, D1, A0, B0, C0, D0, output S1, S0, (* abc9_carry *) output COUT); parameter INJECT = "YES"; parameter INIT0 = "0x0000"; parameter INIT1 = "0x1111"; localparam inject_p = (INJECT == "YES") ? 1'b1 : 1'b0; wire LUT3_0, LUT4_0, LUT3_1, LUT4_1, carry_0; ...
module OXIDE_FF(input CLK, LSR, CE, DI, M, output reg Q); parameter GSR = "ENABLED"; parameter [127:0] CEMUX = "1"; parameter CLKMUX = "CLK"; parameter LSRMUX = "LSR"; parameter REGDDR = "DISABLED"; parameter SRMODE = "LSR_OVER_CE"; parameter REGSET = "RESET"; parameter [127:0] LSRMODE = "LSR"; wire muxce; g...