OpenCores
URL https://opencores.org/ocsvn/brisc/brisc/trunk

Subversion Repositories brisc

[/] [brisc/] [trunk/] [nal.v] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 waqqas.jab
module nal(out, in1, in2, in3, in4, cond, sel1, sel2, reset_n);
2
 
3
parameter dw = 8;
4
 
5
input [dw-1:0] in1, in2, in3, in4;
6
input cond;
7
input [1:0] sel1, sel2;
8
input reset_n;
9
 
10
output [dw-1:0] out;
11
 
12
wire [dw-1:0] m1o, m2o;
13
 
14
mux4 #(.dw(dw)) mux1(m1o, in1, in2, in3, in4, sel1);
15
mux4 #(.dw(dw)) mux2(m2o, in1, in2, in3, in4, sel2);
16
mux2r #(.dw(dw)) mux3(out, m1o, m2o, cond, reset_n);
17
 
18
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.