▲ 3 r/SVUVM

mailbox vs queue

A queue (q[$]) is contiguous storage. It's indexable and we can push/pop elements from the front and back in constant time. If we call pop_front() or pop_back() on an empty list, we get an error. Although it's called queue for historical reasons, it's closer to python's list.

A mailbox is a FIFO that blocks both ends. put() adds an item and get() removes an item. Mailboxes are unbounded by default, but we can make them fixed size. Mailboxes synchronize the flow of transactions between components/threads: when the source thread tries to put a value into a sized mailbox that's full, that thread blocks until the value is removed. Likewise, if a sink thread tries to remove a value from a mailbox that's empty, that thread blocks until a value is put into the mailbox. Queues don't offer this synchronization

Note: A mailbox never holds objects directly, only handles to them. By default it has no fixed type, so nothing stops you from putting a mix of unrelated data into the same mailbox, whereas queues are statically typed so int int_q[$] can hold only values of type int. Always parameterize your mailbox (mailbox #(Transaction) mb) instead, so a type mismatch is caught at compile time rather than corrupting your testbench silently at runtime.

reddit.com
u/hieg_siel — 8 days ago
▲ 2 r/SVUVM

logic vs bit

logic replaces the old wire and reg from Verilog to get rid of the confusion regarding when to use which data type. logic can hold 4 different values: 0, 1, X, Z. In order for a variable to hold 4 states, it takes up 2 bits of memory.

To improve simulator performance, SV introduces a 2-state variable called bit, which can only hold 0 and 1.

We use logic for any signal that might become X or Z (if the RTL is buggy). Typically, we use logic for signals driven by the DUT, and bit for signals generated by the TB.

If a signal driven by the DUT is declared as bit, and the buggy DUT drives an X on that signal, it might show up as either 0 or 1 — making the bug harder to catch.

reddit.com
u/hieg_siel — 9 days ago
▲ 5 r/SVUVM+4 crossposts

👋Welcome to r/SVUVM

What the sub is about:

SystemVerilog and UVM. RTL basics, testbenches, verification methodology, all the way up to full UVM environments.

What to Post:

- projects / resumes

- personal notes

- learning resources

- debugging help

- concept breakdown

- interview/exam questions

What not to post:

- pirated books

- pirated video

- cracked licensed software

- any discussions regarding piracy

Happy Learning.

reddit.com
u/hieg_siel — 10 days ago

NEET protest?

Anna thamudlaki akka chellilaki andariki namaskaram. Nenu rjy lo putti hyd lo perigi ippudu blr lo nivasistunnanu. Desham motham protests avtunnayi kada, Andhra rashtram lo ekkadaina jaruguthunnaya? Ante telusukundam ani adugutunna ante.

Kakinada, Vijayawada, Guntur, Rjy, Tirupati, asalu ekkadaina avtunnaya? Any info?

Asalu janalu ela react avtunnaru? Mi friends, family em antunnaru?

reddit.com
u/hieg_siel — 28 days ago

NEET protests

How is the reaction towards the NEET protests in your families? Did anybody discuss this with your parents/relatives?

Manam ippudu ah stage lo lekapoina NEET students ki anyayam jariginanduku vallaki thodu ga undali ani na feeling. I think early 20s lo unna vallu andaru mostly ilage feel avtaru. Kani pedda vallu Ela spandistunnaru? (I don't mean late 20s annas and akkas)

Watching Pawan Kalyan calling the protest "vibhajanavada shaktulu" was really shocking.

u/hieg_siel — 1 month ago

Evadra vadu?

Eeroju first time life lo mummy scooty ichi koncham dooram pampinchindi, pani meeda, and evado erripuku tagiladu.

​

Na pakkana bikes cars oka 28-32 lo velthunnayi, nenu oka 40 lo velthunna. Traffic koncham undi, road madhyalo evado sudden break vesdu. Vadi venakala anna kuda sudden ga break veyalsi vachindi, anna venaka nenu break vesa kani time distance saripoledu. velli anna bike ni kotti kinda padda.

​

Na bad luck enti ante mundu light velli sarigga anna bike number plate ki tagilindi. Anna bike ok, koncham scratches padini. Na scootyki light pagilindi, inka pedda sotta padindi.

​

Intlo amma titlu apatledu, daddy office lo unnadu evening vastadu.

​

Evado kani erripuku ventane paripoyadu.

​

Na bike ethi, road pakkana pettina uncle ki thanks cheppadam marchipoya. Madhapur 100 feat road lo jarigindi incident, okavela ah uncle miku teliste na vaipununchi koncham thanks cheppandi pls.

Edit: today I found out that my mom loves her scooty more than me

reddit.com
u/hieg_siel — 2 months ago

Had to leave this beauty out of my team

Was doing a monotype run so didn't get to use this guy, but I'll evolve him into a weezing now.

u/hieg_siel — 2 months ago
▲ 67 r/PokemonLeafGreen+1 crossposts

Finally did it

A while back, Reddit downvoted me to oblivion for using my Electrode against a random Grass-type. Well, joke's on them—I just finished my pure Electric Monotype run

It was actually easier than what I had anticipated. Electabuzz learnt psychic and carried the entire team. I had to leave a shine koffing out of my team for this run tho.

u/hieg_siel — 2 months ago

Why doesn't this wake up my electrode?

Is my emulator glitching? This worked so many times before, but it's not working now?

u/hieg_siel — 3 months ago

ఉ‌‌‍‌‍సిరికాయ పులుసు

Enduku tisesaru ni bondha mods??

mamidikaya pullaga untadi pulusu baguntadi, chinta chiguru pullaga untadi pulusu baguntadi.

Osirikaya kuda pullaga untadi pulusu try cheddam ani oka experiment chesa.

Chala vagara ga undi, so koncham salt, bellam, adjust cheyali next time.

But it has potential.

u/hieg_siel — 3 months ago

Team rocket grunt challenge

Had to teach my weezing thunder, spent ~2 hrs looking for a thick club for my marowak, spent hours with the vs seeker to level up.

Wish I had an arbok

Was worth it in the end. Now I'll start the post game.

u/hieg_siel — 3 months ago
▲ 11 r/telugu

Thoughts on this?

There's something unsettling about this. I don't like AIs being used this way.

u/hieg_siel — 3 months ago