00:49
<
sorear >
hx8k has 16 KB of block ram, it is not the chip’s strength
01:06
finsternis has quit [Ping timeout: 256 seconds]
01:06
finsternis has joined ##openfpga
01:22
unixb0y has quit [Ping timeout: 240 seconds]
01:24
unixb0y has joined ##openfpga
01:26
futarisIRCcloud has joined ##openfpga
01:33
<
_florent_ >
m_w: for your config, this seems to work: lm32 with multi-cycle multiplier/barrel_shifter, i & d cache disabled, l2_size=8, integrated_rom_size=0x2000 and cmd_buffer_depth=1 on the controller
01:35
<
cr1901_modern >
Why can't l2_size be disabled? Is this a bug (b/c there's specifically logic to handle when l2_size == 0)
01:54
<
m_w >
_florent_: lemme give it a shot
02:12
<
m_w >
_florent_, is there a way to disable the instruction and data cache without editing lm32_config.v directly?
02:30
<
mithro >
Oh cool - people doing litedram on iCE40! :-P
02:31
<
mithro >
hey m_w /
_florent_ / cr1901_modern!
02:32
m_w_ has joined ##openfpga
02:32
<
m_w_ >
Timing estimate: 32.29 ns (30.97 MHz)
02:33
<
cr1901_modern >
Well, at least that seems to work
02:33
<
m_w_ >
can't seem to reach 100Mhz
02:33
<
m_w_ >
so it pukes post timing analysis
02:33
<
cr1901_modern >
Oh, you prob won't
02:34
<
mithro >
Probably good to start with 25MHz? :-P
02:34
<
m_w_ >
so what is the best way to divide the input clock?
02:35
<
m_w_ >
the instantiation of the pll was a bit foggy to me
02:35
m_w_ has quit [Client Quit]
02:50
genii has quit [Quit: golf, Leafs, golf...]
02:56
azonenberg_work has quit [Ping timeout: 256 seconds]
03:31
Bike has quit [Quit: Lost terminal]
03:47
rohitksingh_work has joined ##openfpga
03:56
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
04:18
rohitksingh_work has quit [Ping timeout: 264 seconds]
04:19
rohitksingh_work has joined ##openfpga
04:28
m_w has quit [Quit: Leaving]
04:28
rqou has quit [Ping timeout: 240 seconds]
04:45
m_w has joined ##openfpga
04:46
<
m_w >
so I think I figured out the pll and I got the bitstream to compile
04:46
rqou_linodeisbro has joined ##openfpga
04:46
<
m_w >
now how do I shrink the firmware?
04:47
rqou_linodeisbro is now known as rqou_linodedown
04:48
<
rqou_linodedown >
i really need to get a backup server
04:48
m_w_ has joined ##openfpga
04:48
<
m_w_ >
lm32-elf-ld: bios.elf section `.text' will not fit in region `rom'
04:48
<
m_w_ >
lm32-elf-ld: region `rom' overflowed by 10268 bytes
04:49
m_w_ has quit [Client Quit]
05:13
<
mithro >
m_w: Probably want the firmware executing from SPI flash eventually...
05:15
<
m_w >
mithro: in the meantime?
05:17
<
rqou_linodedown >
er, you can try making the firmware 100% executing from SPI
05:18
<
rqou_linodedown >
(a la all of those chinese-designed microcontrollers)
05:19
<
m_w >
sounds like a PITA
05:19
<
rqou_linodedown >
why? just take a XIP SPI core and stick a cache in front
05:20
<
m_w >
because this python way of doing hardware is very foreign to me
05:22
<
m_w >
wondering if I have the room is the FPGA for a XIP SPI core
05:22
<
rqou_linodedown >
you can always write a naive FSM based one
05:22
<
rqou_linodedown >
should probably fit
05:22
<
rqou_linodedown >
then stick some kind of two-way set-associative cache in front of it
05:24
<
m_w >
mithro: and references that use it?
05:24
<
mithro >
m_w: just finding now
05:25
<
rqou_linodedown >
huh, i have no idea what's going on there, but it doesn't look like it's designed specifically for XIP? looks like a "generic" core?
05:25
<
rqou_linodedown >
huh, so it is designed for XIP
05:26
<
mithro >
rqou_linodedown: It's memory mapped
05:27
<
rqou_linodedown >
so accessing base+0xABCDEF will read from the flash at address 0xABCDEF?
05:27
<
rqou_linodedown >
in that case just stick some kind of cache in front
05:27
<
mithro >
In most cases we just execute the bios from flash and then copy the user firmware into the SDRAM memory
05:28
<
mithro >
rqou_linodedown: The CPU has a cache in it (unless you disable it) - which works quite well
05:28
<
rqou_linodedown >
yeah, just do that
05:28
<
rqou_linodedown >
good enough for Espressif/GigaDevice
05:31
<
m_w >
so the SPI flash that I am using is for the bitstream, wondering it can co-exist with the ROM code
05:31
<
mithro >
m_w: If your spiflash is big enough
05:35
<
rqou_linodedown >
wtf "At this time we have identified the connectivity issues affecting our Fremont data center as being the result of a power outage. Our team is working as quickly as possible to have connectivity restored. We will provide additional updates as they develop. "
05:35
<
rqou_linodedown >
why isn't this redundant?
05:35
<
m_w >
well I guess that is the next step then, not tonight though
05:46
ZipCPU has quit [Ping timeout: 240 seconds]
06:20
ZipCPU has joined ##openfpga
06:32
<
azonenberg >
rqou_linodedown: possibly upstream power outage?
06:32
<
azonenberg >
something taking out their ISP?
06:33
<
azonenberg >
are they multihomed there?
06:48
bitd has joined ##openfpga
06:48
<
rqou_linodedown >
i don't know, but it's still down
06:48
<
rqou_linodedown >
somehow linode seems pretty awful at ops
06:49
<
rqou_linodedown >
which is unfortunate considering that their servers are decent
06:51
<
rqou_linodedown >
ok, apparently ipv4 is back up (and my box got rebooted)
06:52
<
rqou_linodedown >
ipv6 is still hosed so the BNC is still hosed
06:52
elms has quit [Read error: Connection reset by peer]
06:53
<
rqou_linodedown >
anybody have recommendations for a different cloud provider that has competitive pricing and isn't bad at ops?
06:54
rqou has joined ##openfpga
06:55
<
whitequark >
digitalocean
06:55
<
rqou >
ah here we go
06:56
<
rqou >
hmm nope, still a lot of packet drop over v6
06:59
<
zkms >
digitalocean hasn't sucked for me so far, i run a freebsd VM on their shit and have for years without much issue at all
07:00
<
rqou >
yeah i might set up a backup server on digitalocean
07:00
<
rqou >
since i need a backup/staging server anyways
07:01
<
rqou >
anyways, looks like we're mostly back?
07:17
elms has joined ##openfpga
07:20
ZipCPU has quit [Ping timeout: 276 seconds]
07:29
soylentyellow__ has joined ##openfpga
07:32
soylentyellow_ has quit [Ping timeout: 268 seconds]
08:28
<
rqou >
BFS is a pretty good wire router for smol fpgas :P
08:34
<
rqou >
ugh ssh is super finicky
08:34
gnufan has quit [Ping timeout: 248 seconds]
08:34
<
_florent_ >
m_w: if you don't want to use SPI Flash for now, just use a reduced firmware that can fit in the ROM, like this:
08:36
<
_florent_ >
and as mithro said, you should run the cpu at 25MHz
08:36
<
rqou >
ok, pretty sure it's gpg-agent getting wedged when you hammer it too quickly
08:36
<
rqou >
i swear i should just write my own ssh agent
08:49
rqou_linodedown has quit [Quit: Page closed]
09:45
ZipCPU has joined ##openfpga
10:48
ZipCPU has quit [Ping timeout: 256 seconds]
11:26
pie_ has quit [Ping timeout: 260 seconds]
11:32
pie_ has joined ##openfpga
12:02
ZipCPU- has quit [Ping timeout: 264 seconds]
12:19
ZipCPU has joined ##openfpga
12:30
rohitksingh_work has quit [Read error: Connection reset by peer]
12:43
<
m_w >
_florent_: doesn't look like much of a firmware but it is a start
13:03
Bike has joined ##openfpga
13:05
genii has joined ##openfpga
13:16
<
_florent_ >
m_w: yes, it was a skeleton
13:50
ondrej2 has quit [Quit: Leaving]
15:10
rohitksingh has joined ##openfpga
15:36
azonenberg_work has joined ##openfpga
16:14
pie_ has quit [Ping timeout: 255 seconds]
16:16
azonenberg_work has quit [Ping timeout: 260 seconds]
16:23
Ellied has quit [Ping timeout: 255 seconds]
16:25
m_w has quit [Quit: leaving]
16:46
rohitksingh has quit [Quit: Leaving.]
16:46
rohitksingh has joined ##openfpga
16:51
azonenberg_work has joined ##openfpga
16:54
Ellied has joined ##openfpga
16:58
digshadow has quit [Quit: Leaving.]
17:26
digshadow has joined ##openfpga
17:27
digshadow has quit [Client Quit]
17:33
<
rqou >
current project chibi fuzzer is at 40k guesses left out of 110k initially
17:33
<
rqou >
and among the 70k guesses tried only about 5k work
17:34
<
rqou >
this is fine for Project Chibi, but I'm definitely going to need to come up with a better technique for Project Ravioli
17:36
rohitksingh has quit [Quit: Leaving.]
17:38
cr1901_modern has quit [Read error: No route to host]
17:39
cr1901_modern has joined ##openfpga
17:41
rohitksingh has joined ##openfpga
17:51
<
azonenberg_work >
rqou: your next project after that should be Project Tortellini, followed by Project Cannoli
17:51
<
azonenberg_work >
:p
17:57
digshadow has joined ##openfpga
18:05
<
mithro >
Anyone have thoughts on flat buffers?
18:14
<
awygle >
they seem cool
18:14
wpwrak has quit [Read error: Connection reset by peer]
18:14
wpwrak has joined ##openfpga
18:15
<
awygle >
does anyone have a means for generating packet diagrams for documenting protocols?
18:23
digshadow has quit [Ping timeout: 248 seconds]
18:25
pie_ has joined ##openfpga
18:31
digshadow has joined ##openfpga
18:34
rohitksingh has quit [Quit: Leaving.]
18:36
rohitksingh has joined ##openfpga
18:37
<
shapr >
awygle: if you find one, I'd like to use it
18:43
rohitksingh has quit [Quit: Leaving.]
19:00
digshadow has quit [Quit: Leaving.]
19:06
pie_ has quit [Ping timeout: 256 seconds]
19:56
Patater has quit [Ping timeout: 260 seconds]
20:03
Patater has joined ##openfpga
20:22
Adluc has joined ##openfpga
20:41
digshadow has joined ##openfpga
20:49
mumptai has joined ##openfpga
20:49
digshadow has quit [Quit: Leaving.]
21:19
<
awygle >
TIL i pay for sewer capacity, not just usage
21:21
Bike has quit [Ping timeout: 260 seconds]
21:24
pie_ has joined ##openfpga
21:31
digshadow has joined ##openfpga
21:44
<
mithro >
awygle: I was sure that wavedrom generated data structure diagrams but I can't find it now...
21:45
<
awygle >
mithro: i went on that exact same journey at about 11am today
21:46
<
mithro >
awygle: Are we both imagining something?
21:47
<
awygle >
mithro: berenstein bears
21:48
Ellied has quit [Ping timeout: 248 seconds]
21:49
<
mithro >
awygle: What was that thing that kc8apf used for the initial bitstream stuff?
21:52
<
mithro >
but nicer?
21:54
Bike has joined ##openfpga
21:59
<
awygle >
yeah basically, although that's not very clear imo
22:07
mumptai has quit [Quit: Verlassend]
22:24
bitd has quit [Quit: Leaving]
22:26
gnufan has joined ##openfpga
22:54
pie__ has joined ##openfpga
22:54
pie_ has quit [Read error: Connection reset by peer]
23:20
taralx has joined ##openfpga
23:28
GenTooMan has joined ##openfpga
23:35
genii has quit [Remote host closed the connection]