Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How the synthesier consider CONSTANT and SIGNAL

Status
Not open for further replies.

khaila

Full Member level 2
Joined
Jan 13, 2007
Messages
121
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Activity points
2,105
Supposed we shall add a constant to STD_LOGIC_VECTOR:

A_UNS : in std_logic_vector(3 downto 0);
Y1_UNS : out std_logic_vector(3 downto 0);
Y2_UNS : out std_logic_vector(3 downto 0);
.
.
signal y_uns_std : std_logic_vector(3 downto 0);
constant y_const : std_logic_vector(3 downto 0) := "1111";
.
.
y_uns_std <= "1111";
.
.
Y1_UNS <= A_UNS + y_uns_std ;
Y2_UNS <= A_UNS + y_const ;
.
.

HOW THESIZER will tret Y1_UNS and Y2_UNS ??? Is there any different???
 

yes, a good synthesiser would produce a much smaller circuit than a general prupose 4-bit adder

-b
 

in the first case
1. signal = latch , + = half adder, out = wire
so latch ,adder = wire out

2. input = wire , output = wire, half adder

this will be the difference.its better yu synthesize and check as the signal might be taken as an FF too.
thank you
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top