-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmuxe.v
More file actions
35 lines (34 loc) · 650 Bytes
/
muxe.v
File metadata and controls
35 lines (34 loc) · 650 Bytes
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
26
27
28
29
30
31
32
33
34
35
`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 17:44:15 11/04/2022
// Design Name:
// Module Name: muxe
// Project Name:
// Target Devices:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//////////////////////////////////////////////////////////////////////////////////
module muxe (
input [7:0] Bus_D,
input [7:0] data_in,
input ie,
output reg [7:0]mux_e_out
);
always@(*)
begin
if(ie)
mux_e_out=data_in;
else
mux_e_out=Bus_D;
end
endmodule