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.

Anyone know Verilog convert to VHDL ( can help me )

Status
Not open for further replies.

kun

Member level 2
Joined
Oct 15, 2007
Messages
49
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,635
convert from Verilog to VHDL
i really need help~~

module dac (DACout, DACin, Clk, Reset);
output DACout;
reg DACout;
input [ 'MSBI :0] DACin;
input Clk;
input Reset;

reg ['MSBI+2:0] DeltaAdder;
reg ['MSBI+2:0] SigmaAdder;
reg ['MSBI+2:0] SigmaLatch;
reg ['MSBI+2:0] DeltaB;

always @(SigmaLatch) DeltaB = {SigmaLatch['MSBI+2], SigmaLatch['MSBI+2]} << ('MSBI+1);
always @(DACin or DeltaB) DelTaAdder = DACin + DEltaB;
always @(DeltaAdder or SigmaLatch) SigmaAdder = DeltaAdder + SigmaLatch;
always @(posedge Clk or posedge Reset)
begin
if(Reset)
begin
SigmaLatch <= #1 1'b1 << ('MSBI+1);
DACout <= #1 1'b0;
end
else
begin
SigmaLatch <== #1 SigmaAdder;
DACout <= # SigmaLatch['MSBI+2];
end
end
endmodule
 

Hi

1. Use X-HDL with careful options setting

tnx
 

    kun

    Points: 2
    Helpful Answer Positive Rating
Hi jimjim2k

thankss for reply

but i don have X-HDL

err can you help me please~~

is really important to me please ~~:cry:
convert for me
 

Try this link
**broken link removed**

or

**broken link removed**
 

    kun

    Points: 2
    Helpful Answer Positive Rating
i registered but after i submit error ...
so i cant enter the web
can you help please

is really a big big problem to me now haiz~~~
 

OK. I registered and here is the download link

Windows Executable
Code:
http://www3.syncad.com/ftp/v2vinstall.exe

Linux Binary
Code:
http://www3.syncad.com/ftp/v2vinstall-linux.tar.gz

This is a demonstration copy.
 

    kun

    Points: 2
    Helpful Answer Positive Rating
thanks ^^
err i try running it
how is it like
all i see is file that i can read

is it a progam thats help to covert or just a few file for me to read ??
 

It will convert files containing up to only 500 lines of code.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top