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.

VHDL- Behaviour & Dataflow

Status
Not open for further replies.

danesh

Full Member level 3
Joined
Nov 24, 2003
Messages
184
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
1,343
Hi Guys,

How can i differenciate between dataflow and behaviour code language jus by looking at the codes?
if no obvious information is provided.

thanks guys
 

Hi,
In VHDL 4 styles of coding is there

1.Dataflow
2.Behavioural
3.Strutural
4.Mixed Design

Dataflow-Which willbe created by using simple logic gates like and,or,nand etc..........the statement which is inside the architecture of this type are concurrent statement.

architecture arch_and_gate of and_gate is
begin
c<= a and b;
end architecture;

Behavioural-The architecture which contains the process block inside the architecture and all behavioural model,and statement which contains ar sequential statements.It will use if-else ,while, case, inside the process block

architecture arch_dff of dff is
begin
process(rst,clk,d)
begin
if(rst='0') then
q<='0';
elsif(clk='1' and clk'event) then
q<=d;
end if;
end process;
end architecture;

I think now u clearly understand

Regards
Kanimozhi.M
 

hi ,
in Behaviour level, process keyword is present

in dataflow level , concurrent statement (<=) is present

and if both are present it is mixed level model
 

bit difficulty to distinguish
but in behavioral method codes like

with input select output__signal =>
"out_put 1" when "input 1"
"out_put 2" when "input 2"
"out_put 3" when "input 3"
.....
......
........

will use without concerning the logical relation ship between input and output
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top