emeb_mac has joined ##openfpga
emeb has quit [Quit: Leaving.]
s_frit has quit [Remote host closed the connection]
s_frit has joined ##openfpga
Miyu has quit [Ping timeout: 245 seconds]
Flea86 has quit [Quit: Goodbye and thanks for all the dirty sand ;-)]
gsi__ has joined ##openfpga
gsi_ has quit [Ping timeout: 240 seconds]
unixb0y has quit [Ping timeout: 250 seconds]
unixb0y has joined ##openfpga
futarisIRCcloud has joined ##openfpga
GenTooMan has quit [Quit: Leaving]
lutsabound has quit [Quit: Connection closed for inactivity]
_whitelogger has joined ##openfpga
jevinski_ has joined ##openfpga
jevinskie has quit [Ping timeout: 250 seconds]
Bike has quit [Quit: Lost terminal]
pie___ has joined ##openfpga
pie__ has quit [Ping timeout: 245 seconds]
jevinskie has joined ##openfpga
rohitksingh_work has joined ##openfpga
jevinski_ has quit [Ping timeout: 244 seconds]
Zorix has quit [Ping timeout: 240 seconds]
OmniMancer has joined ##openfpga
Zorix has joined ##openfpga
ayjay_t has quit [Read error: Connection reset by peer]
rohitksingh_wor1 has joined ##openfpga
rohitksingh_work has quit [Ping timeout: 240 seconds]
emeb_mac has quit [Quit: Leaving.]
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
indy has joined ##openfpga
<sxpert> whitequark: there, am open to suggestions ;) https://github.com/sxpert/hp-saturn/blob/master/saturn_core.v
<sxpert> whitequark: in particular, I'm not sure I should use "=" or "<="
<tnt> Use <= in clocked always clock, use = in always(*) blocks.
<tnt> always @(posedge clk & enable) Nope ... always(@posedge clk) or always (*) ... never use anything else.
<tnt> Arf, I never used 'task' ever ... I stick to the simple stuff I know works reliably.
<tnt> no idea if it's good or not.
<tnt> Why did you declare all those things as PARAMETER ? do you expect to change them during instanciation ?
<sxpert> tnt: is there a way to declare things as constants ?
<tnt> localparam I think is what should be used.
<tnt> (non modifiable parameter ... no idea why it's called that way, but whatever)
<sxpert> localparam it is... thanks for that one (proceeds to change)
<sxpert> tnt: as I understand it, tasks are similar to functions, and allow to not have unwiedly case statements
<sxpert> but I may be mistaken
m4ssi has joined ##openfpga
<azonenberg> the main difference is that a task can take time to execute in sim
<azonenberg> a function is always instantaneous
<azonenberg> tnt: and there are a few situations where i've used "=" in a clocked block in order to express some complex calculation using temporary variables
<azonenberg> But it's rare, and if you do it you should have a good reason and clearly comment why
<tnt> azonenberg: sure, every rule has exceptions, but for beginners I would advise against it because it' so easy to shoot yourself in the foot :p
<tnt> wrt to task/large case ... I feel that if you have to do that, you're not really describing the hardware you want built, you describe the behavior you want and hope the synthesis comes up with a good hardware for it, which in my experience never yields anything close to good for non-trivial stuff.
<sxpert> azonenberg: so I should be using functions. ok
<sxpert> also will modify to get rid of "="
rohitksingh_wor1 has quit [Read error: Connection reset by peer]
<sxpert> hmmm one can only use "=" in functions
xdeller has quit [Read error: Connection reset by peer]
xdeller_ has joined ##openfpga
s_frit has quit [Remote host closed the connection]
s_frit has joined ##openfpga
somlo has joined ##openfpga
rohitksingh has joined ##openfpga
OmniMancer has quit [Quit: Leaving.]
jevinskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rohitksingh has quit [Ping timeout: 272 seconds]
X-Scale has joined ##openfpga
rohitksingh has joined ##openfpga
genii has joined ##openfpga
somlo has quit [Ping timeout: 268 seconds]
somlo has joined ##openfpga
<_whitenotifier-c> [whitequark/Glasgow] marcan tagged 8ae10d2 as revC0 https://git.io/fhSNU
<_whitenotifier-c> [Glasgow] marcan created tag revC0 - https://git.io/fp4Wh
<_whitenotifier-c> [whitequark/Glasgow] marcan pushed 4 commits to master [+0/-0/±7] https://git.io/fhSNk
<_whitenotifier-c> [whitequark/Glasgow] marcan 6e09b4f - revC: rename some schematic symbols to match Kicad update
<_whitenotifier-c> [whitequark/Glasgow] marcan 82e342a - revC: revC0 text -> revC?
<_whitenotifier-c> [whitequark/Glasgow] marcan 6764a19 - revC1: add discharge resistors for VIO
<_whitenotifier-c> [whitequark/Glasgow] marcan d1d29ff - revC: annotate FB1
<_whitenotifier-c> [whitequark/Glasgow] marcan pushed 1 commit to master [+0/-0/±1] https://git.io/fhSNq
<_whitenotifier-c> [whitequark/Glasgow] marcan d7530f8 - revC1: annotate FB1
<_whitenotifier-c> [Glasgow] Error. The Travis CI build could not complete due to an error - https://travis-ci.org/whitequark/Glasgow/builds/488574211?utm_source=github_status&utm_medium=notification
somlo has quit [Client Quit]
<_whitenotifier-c> [Glasgow] Success. The Travis CI build passed - https://travis-ci.org/whitequark/Glasgow/builds/488573977?utm_source=github_status&utm_medium=notification
emeb has joined ##openfpga
<_whitenotifier-c> [Glasgow] Success. The Travis CI build passed - https://travis-ci.org/whitequark/Glasgow/builds/488574426?utm_source=github_status&utm_medium=notification
<_whitenotifier-c> [whitequark/Glasgow] marcan pushed 1 commit to master [+0/-0/±1] https://git.io/fhSN8
<_whitenotifier-c> [whitequark/Glasgow] marcan daa6a22 - revC1: change C78 silkscreen text to 0.8 for consistency
<_whitenotifier-c> [Glasgow] Success. The Travis CI build passed - https://travis-ci.org/whitequark/Glasgow/builds/488580482?utm_source=github_status&utm_medium=notification
Miyu has joined ##openfpga
somlo has joined ##openfpga
m4ssi has quit [Remote host closed the connection]
zem has quit [Ping timeout: 245 seconds]
zem has joined ##openfpga
Asu has joined ##openfpga
<_whitenotifier-c> [whitequark/Glasgow] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/fhSAD
<_whitenotifier-c> [whitequark/Glasgow] whitequark 312c309 - vendor: update libfx2.
<_whitenotifier-c> [Glasgow] Success. The Travis CI build passed - https://travis-ci.org/whitequark/Glasgow/builds/488612164?utm_source=github_status&utm_medium=notification
<_whitenotifier-c> [whitequark/libfx2] whitequark pushed 1 commit to master [+0/-0/±1] https://git.io/fhSxK
<_whitenotifier-c> [whitequark/libfx2] whitequark fc2802f - fx2.FX2Config: reject chunks of zero length.
mumptai has joined ##openfpga
cr1901_modern has quit [Ping timeout: 245 seconds]
<azonenberg> sxpert: for the most part functions are something i only use to make calculating complex parameter logic less verbose
<azonenberg> they rarely if ever get used in synthesized code
<azonenberg> maybe to initialize a rom or something
<sxpert> I see
<sxpert> the roms in my application doesn't fit in the fpga memblocks...
<azonenberg> how big is your dataset?
<azonenberg> how fast / often do you have to access it?
<sxpert> it's 1M quartets
<sxpert> it contains the OS of the device under emulation
<azonenberg> sxpert: You're gonna need external rom or flash for that then
<sxpert> that was my understanding
rohitksingh has quit [Remote host closed the connection]
<tnt> sxpert: what's your target ?
<sxpert> tnt: ULX3S
<tnt> oh wow yeah, the up5k has more ram lol. (ok, spram but still)
<daveshah> Not compared to the 85k ECP5
<daveshah> 3.7Mb BRAM
<sxpert> target needs 1024k nibbles rom and 256k nibbles ram... plenty of space
<tnt> daveshah: I thought the current ulx3s were all 12k ?
<tnt> (tha tthe 85k wasn't avail yet)
<daveshah> I have an 85k and a 45k
<daveshah> There are definitely 85k ULX3Ss in circulation
<sxpert> tnt: just received a 85F one, sitting on my desk right now
<tnt> ok, my bad, must have misunderstood.
<sxpert> if I understood correctly, 45F and 85F use the same die...
<daveshah> No they don't
<daveshah> 12F and 25F do though
<sxpert> so I misunderstood
<catplant> p
Asu` has joined ##openfpga
Asu has quit [Ping timeout: 244 seconds]
cr1901_modern has joined ##openfpga
gsi__ has quit [Ping timeout: 244 seconds]
gsi_ has joined ##openfpga
mumptai has quit [Remote host closed the connection]
Asu` has quit [Quit: Konversation terminated!]