UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Voyager
Voyager
217 Views
Registered: ‎06-26-2015

structural code to behavioral

is there anyway to convert structural code (gate level of code) to a behavioral code.

for example if i have some structural code equivalent to below behavioral code.  is there a tool or manually or algorithm convert to behavioral code.  

process(clk)

if a=5 then

  b=c+1;

end if;

end process 

0 Kudos
4 Replies
Scholar richardhead
Scholar
188 Views
Registered: ‎08-01-2012

Re: structural code to behavioral

I dont really understand the question - apart from the fact you missed the clock out of your code, it is already behavioural code.

0 Kudos
Voyager
Voyager
119 Views
Registered: ‎06-26-2015

Re: structural code to behavioral

i know the above is already behavioral code.  but i like to know if there is a way to convert bunch gate level code to behavioral code.

 

 

0 Kudos
110 Views
Registered: ‎07-23-2019

Re: structural code to behavioral

 

@s002wjhw 

yes, there is a way: learn both styles and switch from one to another.

All these terms for HDL are just labels that define the style of writing.

Scholar drjohnsmith
Scholar
86 Views
Registered: ‎07-09-2009

Re: structural code to behavioral

whats your experience with HDL,
<== If this was helpful, please feel free to give Kudos, and close if it answers your question ==>
0 Kudos