You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
591 B
31 lines
591 B
`timescale 1ns / 1ps |
|
////////////////////////////////////////////////////////////////////////////////// |
|
// Company: |
|
// Engineer: |
|
// |
|
// Create Date: 13:54:42 04/04/2022 |
|
// Design Name: |
|
// Module Name: HA |
|
// Project Name: |
|
// Target Devices: |
|
// Tool versions: |
|
// Description: |
|
// |
|
// Dependencies: |
|
// |
|
// Revision: |
|
// Revision 0.01 - File Created |
|
// Additional Comments: |
|
// |
|
////////////////////////////////////////////////////////////////////////////////// |
|
module HA( |
|
input a, |
|
input b, |
|
output c, |
|
output s |
|
); |
|
|
|
assign s = a ^ b; |
|
assign c = a & b; |
|
|
|
endmodule
|
|
|