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.

Question about conversion direction

Status
Not open for further replies.

taoshen

Junior Member level 1
Joined
Mar 11, 2004
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
130
conversion question

I think that
vhdl ------------------ verilog

variable -----------------> reg

signal ------------------> wire

process -------------------> always

May I be right?
 

Re: conversion question

Yes u are right!
I will add following!

vhdl -------> verilog
signal ----> wire if you are doing port mapping OR using signal outside process
signal ----> reg if you are assigning signal inside process block
 

Re: conversion question

nand_gates :

signal ----> wire if you are doing port mapping OR using signal outside process

=================================
Are you meanings that the "wire" denotes the signal that can communicate among
processes in one entity ?
 

Re: conversion question

No.. here is example of what i mean.....

VHDL code
signal a,b,c : std_logic;

u1: xyz_gate port map (a, b, c);

u2: pqr_gate port map (a, b, c);



Translates in Verilog

wire a,b,c;

xyz_gate u1(a, b, c);

pqr_gate u2(a, b, c);
 

Re: conversion question

Can you give me a example that "OR using signal outside process " ?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top