SAIFIINDUSTRIES's picture
Add Batch 1 with 10 repos
8dc19e4 verified
Raw
History Blame
375 Bytes
// Hex inverter
module ttl_7404 #(parameter BLOCKS = 6, DELAY_RISE = 0, DELAY_FALL = 0)
(
input [BLOCKS-1:0] A,
output [BLOCKS-1:0] Y
);
//------------------------------------------------//
reg [BLOCKS-1:0] computed;
always @(*)
begin
computed = ~A;
end
//------------------------------------------------//
assign #(DELAY_RISE, DELAY_FALL) Y = computed;
endmodule