emard / ulx3s-misc

Miscellaneous ULX3S examples (advanced)
74 stars 16 forks source link

ecp5pll example does not build (VHDL errors) #5

Open omcaif opened 1 year ago

omcaif commented 1 year ago

Currently, there are errors in the VHDL code that cause a crash in GHDL, which will soon be fixed, but the errors will still remain. See https://github.com/ghdl/ghdl/issues/2334.

emard commented 1 year ago

I noticed the same when compiling VHDL projects like TI99/4A, internal crash at GHDL.

There are errors/bugs in strings support of new ghdl. for some reasons of vendor specific module and compilers to determine timing estimate of generated PLL outputs, I have to also pass frequency as string parameter, currently I was trying to implement in a simplistic VHDL something like C printf("%5.10f MHz", freq)

I couldn't think of more simple code than already this in ecp5pll, but still errors appear in GHDL string handling so that should be fixed either in GHDL or rewriting my strings handling somehow (any suggestions welcome)

PLL can probably work without this string only then compiler will not know what frequency is generated so it won't correctly report design overclocks

On 1/31/23, omcaif @.***> wrote:

Currently, there are errors in the VHDL code that cause a crash in GHDL, which will soon be fixed, but the errors will still remain. See https://github.com/ghdl/ghdl/issues/2334.

-- Reply to this email directly or view it on GitHub: https://github.com/emard/ulx3s-misc/issues/5 You are receiving this because you are subscribed to this thread.

Message ID: @.***>