code stringlengths 35 6.69k | score float64 6.5 11.5 |
|---|---|
module XNOR2xp5_ASAP7_75t_R (
Y,
A,
B
);
output Y;
input A, B;
// Function
wire A__bar, B__bar, int_fwire_0;
wire int_fwire_1;
not (B__bar, B);
not (A__bar, A);
and (int_fwire_0, A__bar, B__bar);
and (int_fwire_1, A, B);
or (Y, int_fwire_1, int_fwire_0);
// Timing
specify
if (... | 7.501645 |
module XOR2x1_ASAP7_75t_R (
Y,
A,
B
);
output Y;
input A, B;
// Function
wire A__bar, B__bar, int_fwire_0;
wire int_fwire_1;
not (A__bar, A);
and (int_fwire_0, A__bar, B);
not (B__bar, B);
and (int_fwire_1, A, B__bar);
or (Y, int_fwire_1, int_fwire_0);
// Timing
specify
if (~B... | 7.745016 |
module XOR2x2_ASAP7_75t_R (
Y,
A,
B
);
output Y;
input A, B;
// Function
wire A__bar, B__bar, int_fwire_0;
wire int_fwire_1;
not (A__bar, A);
and (int_fwire_0, A__bar, B);
not (B__bar, B);
and (int_fwire_1, A, B__bar);
or (Y, int_fwire_1, int_fwire_0);
// Timing
specify
if (~B... | 7.871675 |
module XOR2xp5_ASAP7_75t_R (
Y,
A,
B
);
output Y;
input A, B;
// Function
wire A__bar, B__bar, int_fwire_0;
wire int_fwire_1;
not (A__bar, A);
and (int_fwire_0, A__bar, B);
not (B__bar, B);
and (int_fwire_1, A, B__bar);
or (Y, int_fwire_1, int_fwire_0);
// Timing
specify
if (~... | 7.586169 |
module asc16x8 (
input wire clk,
input wire [10:0] bitmap_addr,
output wire [ 7:0] bitmap_byte
);
`ifdef SIM
reg [7:0] bitmap_reg [0 : 2047];
reg bitmap_byte_r;
assign bitmap_byte = bitmap_byte_r;
initial begin
$readmemh("../rtl/asc16x8.mem", bitmap_reg, 0, 2047);
end
a... | 7.16411 |
module ASCII (
input [7:0] ivData,
input iCE,
input iClk,
input iReset,
output [6:0] ovDisplay
);
reg [6:0] rvDisplay_Q;
reg [6:0] rvDisplay_D;
assign ovDisplay = rvDisplay_Q;
always @(posedge iClk) begin
if (iReset) begin
rvDisplay_Q <= 7'b0111111;
end else begin
if... | 7.45935 |
module ascii2dec (
input clk,
input rst,
input [7:0] a_in,
output reg [7:0] out
);
always @(posedge clk or posedge rst) begin
if (rst) out <= 8'h00;
else begin
case (a_in)
8'h30: out <= 8'h00;
8'h31: out <= 8'h01;
8'h32: out <= 8'h02;
8'h33: out <... | 6.712574 |
module asciiHex2Bin (
output reg [3:0] val,
input [7:0] inVal
);
always @(*) begin
casex (inVal)
8'h61: val = 4'ha;
8'h62: val = 4'hb;
8'h63: val = 4'hc;
8'h64: val = 4'hd;
8'h65: val = 4'he;
8'h66: val = 4'hf;
default: val = inVal[3:0];
endcase ... | 7.574772 |
module ascii_alu (
input clk,
input [7:0] a,
input [7:0] b,
input [10:0] op_code,
input reset,
input go,
//output reg [7:0] out,
output reg [39:0] display,
output [2:0] rgb1,
output [2:0] rgb2,
output wire horizSyncOut,
output wire vertSyncOut,
output [3:0] VGA_R,
... | 7.835936 |
module ascii_alu_testbench;
reg clk;
reg [7:0] a;
reg [7:0] b;
reg [10:0] op_code;
reg reset;
reg go;
//output reg [7:0] out,
wire [39:0] display_alu;
wire [2:0] rgb1;
wire [2:0] rgb2;
wire horizSyncOut;
wire vertSyncOut;
wire [3:0] VGA_R;
wire [3:0] VGA_G;
wire [3:0] VGA_B;
ascii_alu AS... | 6.591844 |
module ascii_control (
clk,
rst,
pi_data,
pi_sig,
data_dis
);
input clk, rst;
input pi_sig;
input [7:0] pi_data;
output reg [19:0] data_dis;
reg [3:0] cnt_num;
reg [15:0] data_reg;
reg clear_sig;
reg data_en;
reg [3:0] data_trans;
reg [3:0] data_num;
reg [19:0] data_sum;
reg... | 6.91175 |
module ascii_conv ( //converts the real data from kb module to ASCII
input [8:0] rd_data,
output reg [7:0] ascii
);
always @* begin
ascii = 0;
case (rd_data)
{1'b0, 8'h45} : ascii = 8'h30; //0
{1'b0, 8'h16} : ascii = 8'h31; //1
{1'b0, 8'h1e} : ascii = 8'h32; //2
{1'b0, 8'h2... | 7.434394 |
module ascii_input (
input clk25, // 25MHz clock
input rst, // active high reset
// I/O interface to keyboard
input key_clk, // clock input from keyboard / device
input ioctl_download,
input [ 7:0] textinput_dout,
input [15:0] textinput_addr,
// I/O interface ... | 7.377676 |
module ascii_keyboard #(
parameter ROM_SIZE = 256,
parameter DIGI_NUM = 6
) (
// ps2_keyboard variables
input clk,
input clrn,
input ps2_clk,
input ps2_data,
// digi_encdr variables
output wire [7*DIGI_NUM-1:0] digi_output
);
wire [7:0] data;
wire [2:0] en_n;
wire ready, overfl... | 7.575271 |
module ascii_map #(
parameter ROM_SIZE = 256,
parameter BREAK_CODE = 'hf0,
parameter CAPS_CODE = 'h58
) (
input clk,
input [7:0] ps2_data,
input nextdata_n,
output reg [7:0] ascii_data,
output reg [7:0] last_code,
output reg [7:0] count
);
// ROM Initialization
reg [7:0] lwr_... | 6.680399 |
module ascii_ram (
data,
rdaddress,
rdclock,
wraddress,
wrclock,
wren,
q
);
input [7:0] data;
input [9:0] rdaddress;
input rdclock;
input [9:0] wraddress;
input wrclock;
input wren;
output [7:0] q;
`ifndef ALTERA_RESERVED_QIS
// synopsys translate_off
`endif
tri1 wrclock;
... | 6.689672 |
module ASCII_to_7Seg ( // Just a test
clk,
rst,
ASCII,
Display
);
input clk, rst;
input [7:0] ASCII;
output [6:0] Display;
reg [6:0] Display;
always @(posedge clk or posedge rst) begin
if (rst) begin
Display <= 7'b1111110;
end else begin
if (ASCII == 8'h1C) Display <= 7... | 7.124884 |
module ascii_to_binary (
input [7:0] ascii,
output reg [3:0] binary
);
always @(*) begin
case (ascii)
8'h30: binary <= 0;
8'h31: binary <= 1;
8'h32: binary <= 2;
8'h33: binary <= 3;
8'h34: binary <= 4;
8'h35: binary <= 5;
8'h36: binary <= 6;
8'h37: binary <=... | 6.529807 |
module ascii_to_bitmap #(
parameter FONT_ROM_FILENAME = "lib/pico8-hexadecimal.hex"
) (
input clk,
input [7:0] digit,
input [2:0] line,
output reg [3:0] bits
);
reg [3:0] font[0:2048];
initial $readmemh(FONT_ROM_FILENAME, font);
always @(posedge clk) bits <= font[{digit, line}];
endmodule
| 7.528499 |
module Ascon_FSM (
start,
clk,
reset,
in,
done,
out
);
input start, reset;
input clk;
input [320-1:0] in;
output reg done;
output [320-1:0] out;
reg state, next_state;
reg start_round, reset_round_cnt;
reg sel1, sel2, sel_cst;
reg [5:0] cycle_cnt, round_cnt;
// STATE DEFIN... | 7.631264 |
module Ascon_tb ();
`include "MSKand_HPC2.vh"
parameter d = 2;
parameter W = 64;
parameter L = 16;
parameter B = 80;
// WIRE
wire [320*d-1:0] out;
// REGS
reg clk;
reg start_dut, reset, started;
reg [16*5*and_pini_nrnd-1:0] rnd;
reg [10:0] counter;
reg [320-1:0] in;
wire [319:0] out_umsk... | 7.327461 |
module asc_speed (
clock,
data,
rdaddress,
wraddress,
wren,
q
);
input clock;
input [2:0] data;
input [9:0] rdaddress;
input [9:0] wraddress;
input wren;
output [2:0] q;
`ifndef ALTERA_RESERVED_QIS
// synopsys translate_off
`endif
tri1 clock;
tri0 wren;
`ifndef ALTERA_RESERVED... | 6.511819 |
module asc_to_7seg (
bin,
seg
);
input [7:0] bin;
output [6:0] seg;
reg [6:0] seg;
always @(bin) begin
case (bin)
8'h0, "0": seg = 7'b1000000; // output = 0 indicates a lit segment
8'h1, "1": seg = 7'b1111001; // ---0---
8'h2, "2": seg = 7'b0100100; // | |
8'h3, "3": s... | 7.101012 |
module: timer
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
module asdf;
// Inputs
reg clk;
reg rst;
reg en;
reg load;
reg [3:0] init;
// Outputs
wire [3:0] out;
// Instantiat... | 7.287821 |
module alua_Sel (
input [31:0] pc,
input [31:0] data1,
input alua_sel,
output [31:0] alua
);
assign alua = alua_sel ? data1 : pc; // 1 data1, 0 pc
endmodule
| 6.728452 |
module asel_53 (
input asel_signal,
input [15:0] custom_input,
input [15:0] ra_data,
output reg [15:0] out
);
always @* begin
if (asel_signal) begin
out = custom_input;
end else begin
out = ra_data;
end
end
endmodule
| 6.625559 |
module dual_port_RAM #(
parameter DEPTH = 16,
parameter WIDTH = 8
) (
input wclk //写时钟
, input wenc //写使能
, input [$clog2(DEPTH)-1:0] waddr //深度对2取对数,得到地址的位宽。
, input [ WIDTH-1:0] wdata //数据写入
, input ... | 6.886919 |
module asyn_fifo #(
parameter WIDTH = 8,
parameter DEPTH = 16
) (
input wclk,
input rclk,
input wrstn,
input rrstn,
input winc, //写使能
input rinc, //读使能
input [WIDTH-1:0] wdata,
output wire wfull ,
... | 8.920376 |
module ASFIFO_tb;
parameter DEPTH = 16;
parameter WIDTH = 8;
/************端口声明****************/
reg wclk, rclk, wrstn, rrstn, winc, rinc;
reg [WIDTH-1:0] wdata;
wire wfull, rempty;
wire [WIDTH-1:0] rdata;
/************模块例化****************/
asyn_fifo a1 (
wclk,
rclk,
wrstn,
rrst... | 6.975138 |
module ASGEN (
input Clock, // 10 MHz
input Reset_n,
output [13:0] SignalOut // Square Wave of 1.250 MHz
);
// Internal feeding
//parameter VMIN = 15'hFFF;
//parameter VPP = 15'h1FF;
//parameter HALFPERIOD = 4;
// External feeding
parameter VMIN = 15'h3F;
parameter VPP =... | 6.730195 |
module ASG_NR_NBFC (
clk,
rst,
result
);
input clk;
input rst;
output reg [3:0] result;
function [3:0] get_address;
input [1:0] state_var;
begin
case (state_var)
2'b00: get_address <= 4'b0000;
default: get_address <= 4'b1111;
endcase
end
endfunction
al... | 6.937886 |
module ASG_NR_SUPN (
in_a,
in_b,
out_a
);
input in_a;
input in_b;
output reg [3:0] out_a;
supply0 s0;
supply1 s1;
supply0 p0;
supply1 p1;
assign s0 = in_a;
assign s1 = in_b;
buf (p0, in_a);
buf (p1, in_b);
always @(s0 or s1 or p0 or p1) out_a = {s0, s1, p0, p1};
endmodule
| 6.610801 |
module ashift16 (
data,
distance,
result
);
input [31:0] data;
input [3:0] distance;
output [31:0] result;
wire [31:0] sub_wire0;
wire sub_wire1 = 1'h1;
wire [31:0] result = sub_wire0[31:0];
lpm_clshift LPM_CLSHIFT_component (
.data(data),
.direction(sub_wire1),
.distance(... | 6.699781 |
module asic_and2 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
output z
);
assign z = a & b;
endmodule
| 8.277154 |
module asic_and3 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
input c,
output z
);
assign z = a & b & c;
endmodule
| 8.374047 |
module asic_and4 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
input c,
input d,
output z
);
assign z = a & b & c & d;
endmodule
| 9.106081 |
module asic_ao21 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
output z
);
assign z = (a0 & a1) | b0;
endmodule
| 8.022812 |
module asic_ao211 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
input c0,
output z
);
assign z = (a0 & a1) | b0 | c0;
endmodule
| 7.432624 |
module asic_ao22 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
input b1,
output z
);
assign z = (a0 & a1) | (b0 & b1);
endmodule
| 8.333303 |
module asic_ao221 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
input b1,
input c0,
output z
);
assign z = (a0 & a1) | (b0 & b1) | (c0);
endmodule
| 7.695692 |
module asic_ao222 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
input b1,
input c0,
input c1,
output z
);
assign z = (a0 & a1) | (b0 & b1) | (c0 & c1);
endmodule
| 7.664919 |
module asic_ao31 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input a2,
input b0,
output z
);
assign z = (a0 & a1 & a2) | b0;
endmodule
| 7.82953 |
module asic_ao311 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input a2,
input b0,
input c0,
output z
);
assign z = (a0 & a1 & a2) | b0 | c0;
endmodule
| 7.297137 |
module asic_ao32 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input a2,
input b0,
input b1,
output z
);
assign z = (a0 & a1 & a2) | (b0 & b1);
endmodule
| 8.151539 |
module asic_ao33 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input a2,
input b0,
input b1,
input b2,
output z
);
assign z = (a0 & a1 & a2) | (b0 & b1 & b2);
endmodule
| 7.891379 |
module asic_aoi21 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
output z
);
assign z = ~((a0 & a1) | b0);
endmodule
| 8.508327 |
module asic_aoi211 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
input c0,
output z
);
assign z = ~((a0 & a1) | b0 | c0);
endmodule
| 7.635824 |
module asic_aoi22 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
input b1,
output z
);
assign z = ~((a0 & a1) | (b0 & b1));
endmodule
| 8.570028 |
module asic_aoi221 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
input b1,
input c0,
output z
);
assign z = ~((a0 & a1) | (b0 & b1) | c0);
endmodule
| 7.938187 |
module asic_aoi222 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input b0,
input b1,
input c0,
input c1,
output z
);
assign z = ~((a0 & a1) | (b0 & b1) | (c0 & c1));
endmodule
| 7.934978 |
module asic_aoi31 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input a2,
input b0,
output z
);
assign z = ~((a0 & a1 & a2) | b0);
endmodule
| 8.270253 |
module asic_aoi311 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input a2,
input b0,
input c0,
output z
);
assign z = ~((a0 & a1 & a2) | b0 | c0);
endmodule
| 7.833196 |
module asic_aoi32 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input a2,
input b0,
input b1,
output z
);
assign z = ~((a0 & a1 & a2) | (b0 & b1));
endmodule
| 8.65695 |
module asic_aoi33 #(
parameter PROP = "DEFAULT"
) (
input a0,
input a1,
input a2,
input b0,
input b1,
input b2,
output z
);
assign z = ~((a0 & a1 & a2) | (b0 & b1 & b2));
endmodule
| 8.329056 |
module asic_buf #(
parameter PROP = "DEFAULT"
) (
input a,
output z
);
assign z = a;
endmodule
| 7.152511 |
module asic_clkand2 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
output z
);
assign z = a & b;
endmodule
| 8.005463 |
module asic_clkbuf #(
parameter PROP = "DEFAULT"
) (
input a,
output z
);
assign z = a;
endmodule
| 7.283178 |
module asic_clkinv #(
parameter PROP = "DEFAULT"
) (
input a,
output z
);
assign z = ~a;
endmodule
| 8.145487 |
module asic_clkmux2 #(
parameter PROP = "DEFAULT"
) (
input clk0,
input clk1,
input sel,
output z
);
assign z = sel ? clk0 : clk1;
endmodule
| 7.264576 |
module asic_clknand2 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
output z
);
assign z = ~(a & b);
endmodule
| 8.441109 |
module asic_clknor2 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
output z
);
assign z = ~(a | b);
endmodule
| 7.665582 |
module asic_clkor2 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
output z
);
assign z = a | b;
endmodule
| 7.838454 |
module asic_clkxor2 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
output z
);
assign z = a ^ b;
endmodule
| 8.354975 |
module asic_csa32 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
input c,
output sum,
output carry
);
assign sum = a ^ b ^ c;
assign carry = (a & b) | (b & c) | (c & a);
endmodule
| 8.977818 |
module asic_csa42 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
input c,
input d,
input cin,
output sum,
output carry,
output cout
);
assign cout = (a & b) | (b & c) | (a & c);
assign sumint = a ^ b ^ c;
assign sum = cin ^ d ^ sumint;
assign carry = (cin & d... | 8.445865 |
module asic_decap #(
parameter PROP = "DEFAULT"
) (
input vss,
output vdd
);
endmodule
| 6.535078 |
module asic_dffnq #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
output reg q
);
always @(negedge clk) q <= d;
endmodule
| 7.499818 |
module asic_dffq #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
output reg q
);
always @(posedge clk) q <= d;
endmodule
| 7.020688 |
module asic_dffqn #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
output reg qn
);
always @(posedge clk) qn <= ~d;
endmodule
| 7.984324 |
module asic_dffrq #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
input nreset,
output reg q
);
always @(posedge clk or negedge nreset)
if (!nreset) q <= 1'b0;
else q <= d;
endmodule
| 7.292078 |
module asic_dffrqn #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
input nreset,
output reg qn
);
always @(posedge clk or negedge nreset)
if (!nreset) qn <= 1'b1;
else qn <= ~d;
endmodule
| 7.902752 |
module asic_dffsq #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
input nset,
output reg q
);
always @(posedge clk or negedge nset)
if (!nset) q <= 1'b1;
else q <= d;
endmodule
| 7.065913 |
module asic_dffsqn #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
input nset,
output reg qn
);
always @(posedge clk or negedge nset)
if (!nset) qn <= 1'b0;
else qn <= ~d;
endmodule
| 8.035124 |
module asic_dmux2 #(
parameter PROP = "DEFAULT"
) (
input sel1,
input sel0,
input in1,
input in0,
output out
);
assign out = sel0 & in0 | sel1 & in1;
endmodule
| 7.506973 |
module asic_dmux3 #(
parameter PROP = "DEFAULT"
) (
input sel2,
input sel1,
input sel0,
input in2,
input in1,
input in0,
output out
);
assign out = sel0 & in0 | sel1 & in1 | sel2 & in2;
endmodule
| 7.78096 |
module asic_dmux4 #(
parameter PROP = "DEFAULT"
) (
input sel3,
input sel2,
input sel1,
input sel0,
input in3,
input in2,
input in1,
input in0,
output out
);
assign out = sel0 & in0 | sel1 & in1 | sel2 & in2 | sel3 & in3;
endmodule
| 7.841063 |
module asic_dmux5 #(
parameter PROP = "DEFAULT"
) (
input sel4,
input sel3,
input sel2,
input sel1,
input sel0,
input in4,
input in3,
input in2,
input in1,
input in0,
output out
);
assign out = sel0 & in0 | sel1 & in1 | sel2 & in2 | sel3 & in3 | sel4 & in4;
... | 7.695757 |
module asic_dmux6 #(
parameter PROP = "DEFAULT"
) (
input sel5,
input sel4,
input sel3,
input sel2,
input sel1,
input sel0,
input in5,
input in4,
input in3,
input in2,
input in1,
input in0,
output out
);
assign out = sel0 & in0 | sel1 & in1 | sel2 &... | 7.378883 |
module asic_dmux7 #(
parameter PROP = "DEFAULT"
) (
input sel6,
input sel5,
input sel4,
input sel3,
input sel2,
input sel1,
input sel0,
input in6,
input in5,
input in4,
input in3,
input in2,
input in1,
input in0,
output out
);
assign out =... | 7.131071 |
module asic_dmux8 #(
parameter PROP = "DEFAULT"
) (
input sel7,
input sel6,
input sel5,
input sel4,
input sel3,
input sel2,
input sel1,
input sel0,
input in7,
input in6,
input in5,
input in4,
input in3,
input in2,
input in1,
input in0,
... | 7.241782 |
module asic_dsync #(
parameter PROP = "DEFAULT"
) (
input clk, // clock
input nreset, // async active low reset
input in, // input data
output out // synchronized data
);
localparam SYNCPIPE = 2;
reg [SYNCPIPE-1:0] sync_pipe;
always @(posedge clk or negedge nreset)
if (!nre... | 8.873007 |
module asic_footer #(
parameter PROP = "DEFAULT"
) (
input nsleep, // 0 = disabled ground
input vssin, // input supply
output vssout // gated output supply
);
// Primitive Device
nmos m0 (vddout, vddin, nsleep); //d,s,g
endmodule
| 7.206173 |
module asic_iddr #(
parameter PROP = "DEFAULT"
) (
input clk, // clock
input in, // data input sampled on both edges of clock
output reg outrise, // rising edge sample
output reg outfall // falling edge sample
);
// Negedge Sample
always @(negedge clk) outfall <= in;
... | 7.732139 |
module asic_inv #(
parameter PROP = "DEFAULT"
) (
input a,
output z
);
assign z = ~a;
endmodule
| 7.741121 |
module asic_isohi #(
parameter PROP = "DEFAULT"
) (
input iso, // isolation signal
input in, // input
output out // out = iso | in
);
assign out = iso | in;
endmodule
| 7.416668 |
module asic_isolo #(
parameter PROP = "DEFAULT"
) (
input iso, // isolation signal
input in, // input
output out // out = ~iso & in
);
assign out = ~iso & in;
endmodule
| 7.663716 |
module asic_keeper #(
parameter PROP = "DEFAULT"
) (
inout z
);
endmodule
| 6.674383 |
module asic_latnq #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
output reg q
);
always @(clk or d) if (~clk) q <= d;
endmodule
| 7.069341 |
module asic_latq #(
parameter PROP = "DEFAULT"
) (
input d,
input clk,
output reg q
);
always @(clk or d) if (clk) q <= d;
endmodule
| 6.662664 |
module asic_mux2 #(
parameter PROP = "DEFAULT"
) (
input d0,
input d1,
input s,
output z
);
assign z = (d0 & ~s) | (d1 & s);
endmodule
| 7.909366 |
module asic_mux3 #(
parameter PROP = "DEFAULT"
) (
input d0,
input d1,
input d2,
input s0,
input s1,
output z
);
assign z = (d0 & ~s0 & ~s1) | (d1 & s0 & ~s1) | (d2 & s1);
endmodule
| 7.735542 |
module asic_mux4 #(
parameter PROP = "DEFAULT"
) (
input d0,
input d1,
input d2,
input d3,
input s0,
input s1,
output z
);
assign z = (d0 & ~s1 & ~s0) | (d1 & ~s1 & s0) | (d2 & s1 & ~s0) | (d2 & s1 & s0);
endmodule
| 8.691704 |
module asic_muxi2 #(
parameter PROP = "DEFAULT"
) (
input d0,
input d1,
input s,
output z
);
assign z = ~((d0 & ~s) | (d1 & s));
endmodule
| 8.259592 |
module asic_muxi3 #(
parameter PROP = "DEFAULT"
) (
input d0,
input d1,
input d2,
input s0,
input s1,
output z
);
assign z = ~((d0 & ~s0 & ~s1) | (d1 & s0 & ~s1) | (d2 & s1));
endmodule
| 8.161664 |
module asic_muxi4 #(
parameter PROP = "DEFAULT"
) (
input d0,
input d1,
input d2,
input d3,
input s0,
input s1,
output z
);
assign z = ~((d0 & ~s1 & ~s0) | (d1 & ~s1 & s0) | (d2 & s1 & ~s0) | (d2 & s1 & s0));
endmodule
| 8.940778 |
module asic_nand2 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
output z
);
assign z = ~(a & b);
endmodule
| 8.952388 |
module asic_nand3 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
input c,
output z
);
assign z = ~(a & b & c);
endmodule
| 8.822009 |
module asic_nand4 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
input c,
input d,
output z
);
assign z = ~(a & b & c & d);
endmodule
| 9.743313 |
module asic_nor2 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
output z
);
assign z = ~(a | b);
endmodule
| 7.48129 |
module asic_nor3 #(
parameter PROP = "DEFAULT"
) (
input a,
input b,
input c,
output z
);
assign z = ~(a | b | c);
endmodule
| 7.648988 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.