*** tpb <[email protected]> has joined #yosys | 00:00 | |
*** Xark <[email protected]> has quit IRC (Excess Flood) | 02:20 | |
*** Xark <[email protected]> has joined #yosys | 02:25 | |
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has joined #yosys | 02:31 | |
*** bl0x_ <bl0x_!~bastii@p200300d7a748de00860d771e0ed1ec61.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds) | 02:34 | |
*** bl0x_ <bl0x_!~bastii@p200300d7a72957006f35d52770c3fcfb.dip0.t-ipconnect.de> has joined #yosys | 02:36 | |
*** kristianpaul <kristianpaul!~paul@user/kristianpaul> has quit IRC (Read error: Connection reset by peer) | 07:02 | |
*** kristianpaul <[email protected]> has joined #yosys | 07:05 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:70a:8e1a:318f:f8e0> has joined #yosys | 08:06 | |
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Remote host closed the connection) | 08:18 | |
*** lumo_e <[email protected]> has joined #yosys | 10:27 | |
*** srk <srk!~sorki@user/srk> has quit IRC (Remote host closed the connection) | 11:21 | |
*** srk <srk!~sorki@user/srk> has joined #yosys | 11:21 | |
*** check_foo <check_foo!~anonymous@2405:201:f:1db9:4a96:8154:92bb:7691> has joined #yosys | 12:00 | |
*** check_foo is now known as sabka_baap | 12:02 | |
*** sabka_baap is now known as sagar_acharya | 12:04 | |
*** sagar_acharya <sagar_acharya!~anonymous@2405:201:f:1db9:4a96:8154:92bb:7691> has left #yosys | 12:05 | |
*** lumo_e <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 12:25 | |
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has joined #yosys | 12:26 | |
sagar_acharya | Hello folks. I was trying to understand rv32 picosoc | 12:26 |
---|---|---|
sagar_acharya | hx8k demo. I have Olimex HX8K board which is different from the starter board for which this is made. | 12:27 |
sagar_acharya | *Breakout Board | 12:27 |
sagar_acharya | What would I have to do different for Olimex Board? | 12:28 |
sagar_acharya | Can people listen to me? | 12:31 |
*** uis <[email protected]> has quit IRC (Quit: ZNC 1.7.5 - https://znc.in) | 12:40 | |
*** uis <[email protected]> has joined #yosys | 12:40 | |
ikskuh | heya sagar_acharya o/ | 12:48 |
ikskuh | i guess you have to adjust some pins? i don't know both of these boards, but they both have an ICE40, right? | 12:49 |
sagar_acharya | Yes | 12:53 |
sagar_acharya | I'll manage pcf. | 12:53 |
sagar_acharya | That's it, everything else stays same? | 12:53 |
ikskuh | i guess so? maybe you need to adjust to different clock sources | 12:54 |
ikskuh | for that you have to look up the schematic | 12:54 |
sagar_acharya | ok. I don't understand soc. I understand rv32 though. | 12:55 |
sagar_acharya | So can I use C code on it? | 12:55 |
sagar_acharya | With soc. I'm trying to create basic shell with ps2 keyboard, vga, character encoding and rv32 core for running programs | 12:56 |
sagar_acharya | breakout board has 12MHz oscillator and olimex board has 100MHz. Keeping clock same should be fine right | 12:58 |
*** vidbina <[email protected]> has joined #yosys | 12:59 | |
*** uis <[email protected]> has quit IRC (Quit: ZNC 1.7.5 - https://znc.in) | 13:08 | |
*** uis <[email protected]> has joined #yosys | 13:08 | |
ikskuh | ah, so you're a beginner when it comes to hw dev? | 13:09 |
sagar_acharya | Yes | 13:10 |
sagar_acharya | I know some basics though. | 13:11 |
tnt | I seriously doubt the hx8k is going to run the picorv32 at 100 MHz, you'll need to PLL that down. | 13:12 |
sagar_acharya | Where is the clock signal, I just see input clk | 13:13 |
*** citypw <citypw!~citypw@gateway/tor-sasl/citypw> has quit IRC (Ping timeout: 276 seconds) | 13:14 | |
sagar_acharya | or is clk a keyword. | 13:14 |
tnt | ??? well yeah, 'clk' is the clock signal .... | 13:14 |
tnt | it's not a keyword, it's just a random name. | 13:15 |
tnt | but that's linked with the pcf to a specific pin of the fpga where the board inputs a clock signal. | 13:15 |
sagar_acharya | Aah ok | 13:15 |
sagar_acharya | Thanks | 13:15 |
sagar_acharya | That makes sense now | 13:15 |
*** lumo_e <[email protected]> has joined #yosys | 13:27 | |
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has quit IRC (Quit: Leaving) | 13:40 | |
*** uis <[email protected]> has quit IRC (Quit: ZNC 1.7.5 - https://znc.in) | 13:57 | |
*** uis <[email protected]> has joined #yosys | 13:57 | |
*** lumo_e <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 14:32 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 14:48 | |
*** lumo_e <[email protected]> has joined #yosys | 14:55 | |
*** nak <nak!~nak@yosys/nak> has joined #yosys | 15:42 | |
*** vidbina <[email protected]> has joined #yosys | 16:31 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 256 seconds) | 17:04 | |
*** gmc_ <[email protected]> has quit IRC (Remote host closed the connection) | 17:11 | |
*** gmc_ <[email protected]> has joined #yosys | 17:19 | |
*** gruetzkopf <gruetzkopf!~quassel@wireguard/tunneler/gruetzkopf> has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.) | 17:19 | |
*** gruetzkopf <gruetzkopf!~quassel@wireguard/tunneler/gruetzkopf> has joined #yosys | 17:20 | |
*** gmc_ <[email protected]> has quit IRC (Remote host closed the connection) | 17:45 | |
ikskuh | what's the way-to-go to figure out of an addition overflowed? | 17:58 |
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has joined #yosys | 17:59 | |
*** gmc_ <[email protected]> has joined #yosys | 18:01 | |
tnt | just extend the signals by 1 bit before addition. | 18:01 |
ikskuh | ah, perfec | 18:02 |
ikskuh | so | 18:02 |
ikskuh | assign {carry, res} = { 1'b0, a } + { 1'b0, b }; ? | 18:02 |
tnt | yeah, for unsigned addition at least. | 18:02 |
ikskuh | oh right, for signed i have to do sign extension, right? | 18:03 |
tnt | well, not for just checking for overflow IIRC, but the condition is different, tbh I don't remember like that, you'd need to go through the various cases on paper and see how it works out. | 18:05 |
ikskuh | dang. i knew putting carry in was a bad idea ^^ | 18:06 |
*** vidbina <[email protected]> has joined #yosys | 19:16 | |
*** sagar_acharya <sagar_acharya!~sagar_ach@2405:201:f:1db9:4a96:8154:92bb:7691> has quit IRC (Quit: Leaving) | 19:35 | |
*** vidbina <[email protected]> has quit IRC (Read error: Connection reset by peer) | 19:49 | |
*** vidbina <[email protected]> has joined #yosys | 19:54 | |
*** kraiskil <kraiskil!~kraiskil@2a02:1205:c687:90a0:8ea3:6aac:6de4:e217> has joined #yosys | 20:09 | |
*** gmc_ <[email protected]> has quit IRC (Remote host closed the connection) | 20:10 | |
*** vidbina <[email protected]> has quit IRC (Ping timeout: 240 seconds) | 20:20 | |
*** uis <[email protected]> has quit IRC (Quit: ZNC 1.7.5 - https://znc.in) | 21:28 | |
*** uis <[email protected]> has joined #yosys | 21:28 | |
*** kraiskil <kraiskil!~kraiskil@2a02:1205:c687:90a0:8ea3:6aac:6de4:e217> has quit IRC (Remote host closed the connection) | 21:31 | |
*** nelgau <[email protected]> has joined #yosys | 23:11 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!