Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

Looking for software that converts Matlab code to VHDL

Status
Not open for further replies.

baa110

Junior Member level 1
Joined
Mar 10, 2002
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
71
hi all
is there any software which convert matlab code to vhdl?
how can i get it?
best regards
baa110
 

gabby

Member level 5
Joined
Mar 18, 2002
Messages
94
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Location
Israel
Activity points
1,239
matlab to vhdl

Hi

Nice idea but i'am not sure that you will get a compact desing in vhdl,
you are look for easy work but not for the best.

I think you can convert from matlab to c and from c to vhdl(i think is prog from c to vhdl ),
but carefull some time loop function will multiply the desing in vhdl.

Also try ask at matlab for utility maybe they will give you the answer.

Best regards.
 

superluminal

Member level 4
Joined
Jan 31, 2002
Messages
79
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Inside a quantum well
Activity points
806
matlab to vhdl conversion

Till now I dont know there is some SW to convert C<=> VHDL , so I dont expect you to find such conversion from Matlab to VHDL.
Note: If anyone find SW to convert from C <=> VHDL, please PM

Thanks in advance
 

synq

Member level 2
Joined
May 21, 2001
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
446
convert matlab to vhdl

mates..this is what iam crying for last 6 months..

systemgenerator will give vhdl code as well as testbench codes for matlab scripts specific for dsp related apps,,


can anyone provide a full version of system generator
 

ZmGor

Member level 1
Joined
Feb 21, 2002
Messages
34
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
190
converting simulink model to vhdl

http://www.mathworks.com/products/connections/product_main.shtml?prod_id=304

The Xilinx System Generator is a plug-in to Simulink that enables designers to develop high-performance DSP systems for Xilinx FPGAs. Designers can design and simulate a system using MATLAB, Simulink, and Xilinx library of bit/cycle-true models. The tool will then automatically generate synthesizable Hardware Description Language (HDL) code mapped to Xilinx pre-optimized algorithms.
 

The Mechanic

Newbie level 1
Joined
Dec 5, 2002
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
8
matlab to vhdl converters

www.accelchip.com

Is a company offering Matlab -> VHDL conversion tool.

Like most tools that generate code, it is a bit messy.
 

redsk_y

Member level 4
Joined
Jan 1, 2002
Messages
79
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
italy
Activity points
427
converting matlab code into vhdl code

HI

If you work with ALTERA, you can try DSP Builder.
It converts SIMULINK models to VHDL code, that can be downloaded
to development board for in circuit testing.

Bye
 

hamming

Newbie level 4
Joined
Dec 13, 2002
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
50
how to generate vhdl code in matlab

There are basically two tools:
-DSP Builder for Altera devices, and
-System generator for Xilinx devices

I believe System Generator from Xilinx is the better choice

Good luck
 

snsriram79

Member level 4
Joined
May 8, 2001
Messages
71
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
513
steps to convert simulink to vhdl code

can any1 provide the full version of the system generator

bye
 

Jayson

Full Member level 4
Joined
Oct 8, 2001
Messages
234
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
Brazil
Activity points
2,328
generate hdl matlab

Will a simple FIR or IIR filter for input analog signal frequencies of less than 100Hz be able to fit onto a Spartan II with 30K gates?

- Jayson
 

Bartart

Full Member level 2
Joined
Feb 20, 2002
Messages
124
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
Europt
Activity points
1,109
converting simulink to hdl

Hi!

Depends on n° of tabs and the n°bits for coeficent, if you are not sure if it fits, you can reduce the numbers of tabs or bits for coef.

Good luck, Bart

P.S. the way you will implement it is also important,

serial -> slow but less slice
parallel -> fast but lot of slice
 

Jayson

Full Member level 4
Joined
Oct 8, 2001
Messages
234
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
Brazil
Activity points
2,328
matlab vhdl converter

If I have an ADC that is serial, is it better to implement with serial, or convert it to parallel with a shift register?

Seconldly, are there any special considerations for picking the ADC, will any ADC work? The one I'm thinking of is SPI controlled.

- Jayson
 

Bartart

Full Member level 2
Joined
Feb 20, 2002
Messages
124
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
Europt
Activity points
1,109
convert matlab to fpga

Jayson said:
If I have an ADC that is serial, is it better to implement with serial, or convert it to parallel with a shift register?
Serials inputs are allways converted to parallel, this is simple.
You don't want to us serial buses inside FPGA.

Jayson said:
Seconldly, are there any special considerations for picking the ADC, will any ADC work? The one I'm thinking of is SPI controlled.
Be careful on VCC, see if ADC does not use 5V and your FPGA is only 3.3 tolerant. Fireworks warning. :)

The other consideration is the sampling freq., you can not use 200Mhz ADC on XC4000 series it is to fast for the FPGA.

The way you controll ADC is not so important, SPI is good and easy to do.

Bart
 

Jayson

Full Member level 4
Joined
Oct 8, 2001
Messages
234
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
Brazil
Activity points
2,328
builder matlab vhdl

you bring up a good point on VCC issues, how is this typically done in FPGA designs, the majority of chips I'd like to work with are 5V CMOS devices, how do I interface these safely to an FPGA running at a lower I/O voltage of 3.3V or 2.5V? Is there an I/O speed loss with this interface?

- Jayson
 

Bartart

Full Member level 2
Joined
Feb 20, 2002
Messages
124
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
Europt
Activity points
1,109
how to convert a simulink to vhdl

Hi!

See FPGA family handbook if the device you chose is Vcc tolerant.


Is there an I/O speed loss with this interface
,
if you use resistor it is possible, a little loss, but nothing serius, if you use level translator IC 5V -> 3.3V no loss will apear.


Bart
 

Jayson

Full Member level 4
Joined
Oct 8, 2001
Messages
234
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
Brazil
Activity points
2,328
converting simulink model to hdl

what types of level translators are used with FPGA designs? can you give the names of actual chips to do this?

- Jayson
 

Bartart

Full Member level 2
Joined
Feb 20, 2002
Messages
124
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
Europt
Activity points
1,109
converting from simulink code to vhdl code

Jayson said:
what types of level translators are used with FPGA designs? can you give the names of actual chips to do this?

- Jayson
BIT BIDIRECTIONAL 3.3V TO 5V TRANSLATOR or
BIT BIDIRECTIONAL 5V TO 3.3V TRANSLATOR

74FCT164245T but there are others,

search on google with keyword: Level translator XX V to YY V

Good luck
bart
 

nattawoot_s

Newbie level 5
Joined
Jan 16, 2003
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
99
conversion of matlab code to vhdl code

I think that can use follwing software
1 Xilinx system generator
2 Altera Dspbuilder
 

Jayson

Full Member level 4
Joined
Oct 8, 2001
Messages
234
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
Brazil
Activity points
2,328
convertire matlab in vhdl

Where can I buy the 74FCT164245T?

More importantly, where can I buy single quantities of Xilinx FPGA's?

- Jayson
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top