Write an HDL code for the following specifications. Write a linear testbench to verify the design. Input: clk, reset_n,
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Write an HDL code for the following specifications. Write a linear testbench to verify the design. Input: clk, reset_n,
Write an HDL code for the following specifications. Write a linear testbench to verify the design. Input: clk, reset_n, A, B Output: AEQB, AGTB, ALTB The block has an active low asynchronous reset and works on the posedge of clock. The block takes two 4 bit numbers A,B and compares them. There are 3 single bit outputs and they are 1 in the following conditions otherwise 0. 1401 AEQB i.e. A equals B AGTB i.e. A greater than B ALTB i.e. A less than B