PSoC 5LP_VHDL to Verilog

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaTr_1730276
Level 4
Level 4
First like given 10 sign-ins First solution authored

Dear support,

for a new project, I'm evaluating to import a VHDL component into PSoC 5LP.

Since I'm not expert with both VHDL and Verilog, I'm wondering if there any VHDL to Verilog translator for PSoC 5.

Thank you

0 Likes
1 Solution
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

There was software to convert from VHDL to Verilog.

VHDL to Verilog Transfer software URL

HDL Translation Products and Services

After converting VHDL to Verilog,

You can refer to the Component Author Guide to create custom components.

Component Author Guide URL

https://www.cypress.com/documentation/component-datasheets/psoc-creator-component-author-guide

PLDs  of PSoC are small.

Please check the scale from the table below.

Especially when the number of terms is large, the PLD of PSoC is easily restricted.

pastedImage_3.png

AN82250 URL

https://www.cypress.com/file/45856/download

Regards,

View solution in original post

0 Likes
9 Replies
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Manuel,

No, such tool doesn't exist.

Note that PSoC5 has very limited PLD space, so whatever code you want to port it has to be small. In that case, it can be easily ported manually.

/odissey1

0 Likes

Odissey,

thank you, if I send to you the vhdl source file could you verify if could be fit into PLD and try to translate it?

0 Likes

MaTr,

I have no experience with VHDL. The best would be posting the  code and description here on the forum, so it can get maximum attention.

/odissey1

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

Hi,

There was software to convert from VHDL to Verilog.

VHDL to Verilog Transfer software URL

HDL Translation Products and Services

After converting VHDL to Verilog,

You can refer to the Component Author Guide to create custom components.

Component Author Guide URL

https://www.cypress.com/documentation/component-datasheets/psoc-creator-component-author-guide

PLDs  of PSoC are small.

Please check the scale from the table below.

Especially when the number of terms is large, the PLD of PSoC is easily restricted.

pastedImage_3.png

AN82250 URL

https://www.cypress.com/file/45856/download

Regards,

0 Likes

Hi MaMi,

thank you for you reply.

At the moment I'm using my VHDL component into a  FPGA, but I'm wondering if I could move it to a PSoC5LP.

On the datasheet of the component it indicates that the used resource are 6000 logic gate.

Do you think it could be fit or not on a PSoC5LP? If not, I do not try to translate it as Verilog...

Thanks and regards

0 Likes

Direct migration of VHDL/Verilog code is typically not the most efficient way as the synthesis tools are not smart enough to reuse the UDB blocks, which could be seen as micro-ALU with FIFOs. So to above question the answer would be no, unless you redesign and reuse the UDB. So in PSoC think rather from UDB surrounded by the logic, then you can squeeze out really a lot.

BR Uros

0 Likes
MiNe_85951
Level 7
Level 7
Distributor - TED (Japan)
50 likes received 500 replies posted 50 solutions authored

I think the 6000 gates are difficult with the PLDs(12C4) in the UDB block alone.

Of course, it depends on the contents of the VHDL language such as the number of bits of variables to be handled, the number of IO (Terms) and parallel processing.

As BR Uros-san says, I think it's tough if you don't make full use of the data path(8bit ALU).

Moreover, the design of the data path is very complicated.

0 Likes

It would be easier to tell us what exactly you want to implement with PSoC 5LP. Maybe someone else already implemented the same functionality leveraging the UDBs.

What does your VHDL component do?

0 Likes

My component is a little bit complicated since I have no experience with VHDL.

For the moment I think I can not fit into PSoC5LP since I have to include also other logic..

0 Likes