mcc,
@mcc@mastodon.social avatar

I need to figure out where on the internet I can ask newbie verilog questions the way I can go to the Rust discord and ask newbie Rust questions

mcc,
@mcc@mastodon.social avatar

Searching Google for "what is qip file how is qip file formed is qip file curable how long do I have to live"

mcc, (edited )
@mcc@mastodon.social avatar

Every single Verilog programmer I have ever talked to: And whatever you do, do NOT generate a signal using logic and then try to use it as a clock

Me, using logic expression outputs as clocks on every single project I create:

mcc,
@mcc@mastodon.social avatar

Okay I need to learn to use Quartus SignalTap now but I don't want to learn how to use Quartus SignalTap

swetland,
@swetland@chaos.social avatar

@mcc As an alternative you can build your own inspection/tracing tooling (either using their JTAG blocks to make it accessible via JTAG, or via a SPI interface or the like).

It's work upfront, but it can be fun if you like enjoy work and it has the upside that you can take it with you to other FPGA toolchains.

I've used SPI for this more recently since the Lattice parts I've worked with are programmed that way, so already have a transport.

whitequark,
@whitequark@mastodon.social avatar

@swetland @mcc (Glasgow already has one)

mcc,
@mcc@mastodon.social avatar

I think this is going to be the third or maybe fourth time I've learned to use Quartus SignalTap but none of them have taken. Maybe if I use SignalTap to solve an actual problem instead of running a toy scenario just to "learn to use SignalTap" it will actually stick

mcc,
@mcc@mastodon.social avatar

It is going bad. Despite me having used this before, on bringing up the SignalTap window it shows a yellow box reading "Invalid JTAG Configuration". Hm, I think. I should perform all configuration steps from the beginning. I bring up the documentation. I immediately find that the documentation's example demonstrating what you should expect the SignalTap window to look like contains the yellow box reading "Invalid JTAG Configuration".

mcc, (edited )
@mcc@mastodon.social avatar

It turns out "Invalid JTAG Configuration" in this case meant "You have to open the programmer dialog and say 'Run'". The SignalTap window will kick off a compilation for you but then it won't deploy it for you, I guess. I wasted an hour and a half trying to figure this out, during which time Quartus crashed twice.

Now I can boot it, and discover SignalTap simply doesn't support hi-dpi screens on Linux. These boxes can't be enlarged. Altera charges thousands of dollars for this application.

mcc,
@mcc@mastodon.social avatar

ME: SignalTap, my design is not working. Can you please tell me the values of these variables

SIGNALTAP: No, I can't graph those variables because of reasons. I can graph these other variables tho

ME: Oh. What do the other variables say?

SIGNALTAP: They say it's not working

brouhaha,
@brouhaha@mastodon.social avatar

@mcc use spinaltap instead; it goes to eleven

mcc,
@mcc@mastodon.social avatar

Over the last day I have learned about Altera SignalTap. Here is what I have learned: I do not like Altera SignalTap

onelson,
@onelson@mastodon.social avatar

@mcc I'm now hearing "b-b-b bad to the bone" playing in my head

whitequark,
@whitequark@mastodon.social avatar

@mcc Quartus SpinalTap

cr1901,
@cr1901@mastodon.social avatar

@mcc I like Lattice Reveal. But maybe that's because I've legitimately used it to solve a problem before lol (it also mostly "just works").

mcc,
@mcc@mastodon.social avatar

@cr1901 Without having much experience with either, I'd say it's also quite plausible that Lattice is simply better than Quartus

slyecho,
@slyecho@mdon.ee avatar

@mcc Isn't this how USB works though?

mcc,
@mcc@mastodon.social avatar

@slyecho So first off I'm discussing FPGAs specifically. And if you're discussing ASICs, whether they are able to tolerate an unstable clock depends on what is receiving the clock

hazelweakly,
@hazelweakly@hachyderm.io avatar

@mcc who hurt you that you would hurt yourself like this?

/jk /jk

mcc,
@mcc@mastodon.social avatar

@hazelweakly THE PURDUE UNIVERSITY ELECTRICAL ENGINEERING DEPARTMENT, ACTUALLY

violator,
@violator@mathstodon.xyz avatar

@mcc @hazelweakly just be sure to mark it appropriately as such in constraints and give consideration as to how resets affect it and youll be probably fine good luck have fun

mcc,
@mcc@mastodon.social avatar

@violator @hazelweakly oh, i spent like, a couple months earlier this year attempting to create a clock constraints/SDC file that Quartus would actually accept. I never succeeded.

violator,
@violator@mathstodon.xyz avatar

@mcc loads laugh track i never said it would be easy

violator,
@violator@mathstodon.xyz avatar

@mcc you can abuse clock wizards to do that as well, might make the constraints a bit simpler to write at the cost of complicating your signal path and hierarchy. Not that im recommending that path

mcc,
@mcc@mastodon.social avatar

@violator if there were a wizard for creating the sdc file I'd probably use it, especially if Intel would actually document it the way they don't seem to want to do with their TCL interfaces. Or do you mean make a PLL and then modify the files by hand

violator,
@violator@mathstodon.xyz avatar

@mcc i always did the latter. Im fairly confident quartus has a clocking constraints wizard, but it was at least five years ago i last touched that wizard. Libero has one as well, used it more recently. Dont know about vivado, always just manually wrote those

mcc,
@mcc@mastodon.social avatar

@violator I've been almost exclusively using Quartus through the command line interface and this doesn't seem to be the intended usage

whitequark,
@whitequark@mastodon.social avatar

@mcc hm

mcc,
@mcc@mastodon.social avatar

@whitequark Every time I ask a verilog question in the amaranth channel everyone's polite and helpful answering it but then I feel guilty imposing lol

whitequark,
@whitequark@mastodon.social avatar

@mcc comes with the territory!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tacticalgear
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • osvaldo12
  • InstantRegret
  • Youngstown
  • everett
  • slotface
  • rosin
  • thenastyranch
  • mdbf
  • kavyap
  • cisconetworking
  • JUstTest
  • modclub
  • khanakhh
  • GTA5RPClips
  • Durango
  • normalnudes
  • ethstaker
  • Leos
  • tester
  • cubers
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines