lethalbit,
@lethalbit@chaos.social avatar

I fixed my cohost bot, logicbot to allow for more than one output and also fixed the bug that was causing the netlists to be reduced to pure AOI netlists, so now we have things like muxes, and XOR gates and all that good stuff,

https://cohost.org/logic-bot/post/5748772-w-d-a-b

lethalbit,
@lethalbit@chaos.social avatar

The general gist of how it works is that it randomly picks a number of expressions to generate (1 to 4) then for each expression it randomly picks how many terms it will have.

Once that's done, it generates a LUT with that many columns and fills it out randomly.

The LUT is then converted into Algebraic Normal Form and then either expressly simplified or not.

Once that's done it generates Verilog which is cammed into Yosys with some processing, then the netlist SVG is generated from that.

jaseg,
@jaseg@chaos.social avatar

@lethalbit I wrote something very similar to generate assignments for the first semester digital design course I TA at work.

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