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

Subversion Repositories dma_ahb

[/] [dma_ahb/] [trunk/] [src/] [dma_ahb32/] [prgen_min2.v] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 eyalhoc
//---------------------------------------------------------
2
//-- File generated by RobustVerilog parser
3
//-- Version: 1.0
4
//-- Invoked Fri Mar 25 23:31:25 2011
5
//--
6
//-- Source file: prgen_min2.v
7
//---------------------------------------------------------
8
 
9
 
10
 
11
module prgen_min2(a,b,min);
12
 
13
   parameter             WIDTH = 8;
14
 
15
   input [WIDTH-1:0]      a;
16
   input [WIDTH-1:0]      b;
17
 
18
   output [WIDTH-1:0]      min;
19
 
20
 
21
   assign          min = a < b ? a : b;
22
 
23
endmodule
24
 
25
 
26
 
27
 

powered by: WebSVN 2.1.0

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