-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod4.v
25 lines (25 loc) · 576 Bytes
/
mod4.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 18:30:38 04/18/2021
// Design Name:
// Module Name: mod4
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module mod4(OUT, A);
input [3:0] A;
output [3:0] OUT;
assign OUT = A%4;
endmodule