*** tpb has joined #yosys | 00:00 | |
*** emeb has quit IRC | 01:20 | |
*** gsi__ has joined #yosys | 01:22 | |
*** gsi_ has quit IRC | 01:26 | |
*** ZipCPU has quit IRC | 01:28 | |
*** ZipCPU has joined #yosys | 01:33 | |
*** m4ssi has joined #yosys | 02:39 | |
*** Cerpin has joined #yosys | 02:39 | |
*** Cerpin has quit IRC | 02:48 | |
*** AlexDaniel has quit IRC | 03:32 | |
*** m4ssi has quit IRC | 03:59 | |
*** Cerpin has joined #yosys | 04:01 | |
*** rohitksingh_work has joined #yosys | 04:13 | |
*** pie__ has joined #yosys | 04:44 | |
*** pie__ has quit IRC | 04:45 | |
*** pie__ has joined #yosys | 04:45 | |
*** pie_ has quit IRC | 04:48 | |
*** Cerpin has quit IRC | 05:03 | |
*** Cerpin has joined #yosys | 05:04 | |
*** puddingp1mp has joined #yosys | 06:09 | |
*** nurelin_ has quit IRC | 06:10 | |
*** nurelin_ has joined #yosys | 06:10 | |
*** svenn has quit IRC | 06:14 | |
*** puddingpimp has quit IRC | 06:14 | |
*** Twix has quit IRC | 06:14 | |
*** oldtopman has quit IRC | 06:14 | |
*** msgctl has quit IRC | 06:14 | |
*** leptonix has quit IRC | 06:14 | |
*** Marex has quit IRC | 06:14 | |
*** ec0 has quit IRC | 06:14 | |
*** Twix has joined #yosys | 06:15 | |
*** svenn has joined #yosys | 06:15 | |
*** leptonix has joined #yosys | 06:17 | |
*** parport0 has quit IRC | 06:18 | |
*** parport0 has joined #yosys | 06:19 | |
*** msgctl has joined #yosys | 06:21 | |
*** puddingp1mp is now known as puddingpimp | 06:21 | |
*** ec0 has joined #yosys | 06:52 | |
MoeIcenowy | strange | 06:52 |
---|---|---|
MoeIcenowy | yosys optimized out my SB_HFOSC | 06:52 |
MoeIcenowy | and then because clock is missing it optimized out the whole design | 06:53 |
MoeIcenowy | oh I forgot to remove PLL locked signal from reset logic | 06:54 |
MoeIcenowy | it's weird that Verilog allows wires to be used without definition | 06:54 |
MoeIcenowy | oh HFOSC with CLKHF_DIV defined cannot be used by nextonr | 06:55 |
MoeIcenowy | nextpnr * | 06:55 |
MoeIcenowy | ERROR: expected configuration string starting with '0b' for parameter 'CLKHF_DIV' on cell 'hfosc_OSC' | 06:56 |
MoeIcenowy | (I referred "iCE40 Oscillator Usage Guide" for configuration) | 06:56 |
MoeIcenowy | I tried to change the value of CLKHF_DIV from 2'b10 to "0b10" | 06:58 |
MoeIcenowy | it seems to work | 06:58 |
MoeIcenowy | but is not following the Lattice guide | 06:58 |
*** emeb_mac has quit IRC | 07:21 | |
*** m4ssi has joined #yosys | 08:09 | |
*** promach has joined #yosys | 08:38 | |
tnt | MoeIcenowy: `default_nettype none | 08:51 |
*** rohitksingh_work has quit IRC | 09:14 | |
*** rohitksingh_work has joined #yosys | 09:18 | |
*** leviathanch has joined #yosys | 10:27 | |
*** Marex has joined #yosys | 11:01 | |
*** _whitelogger has quit IRC | 11:31 | |
*** _whitelogger has joined #yosys | 11:33 | |
*** promach has quit IRC | 12:17 | |
*** rohitksingh_work has quit IRC | 12:55 | |
corecode | MoeIcenowy: it is following exactly the lattice docs | 12:58 |
MoeIcenowy | corecode: I don't think specify parameter as "0b10" correct | 13:47 |
MoeIcenowy | the doc uses "Defparam OSCInst0.CLKHF_DIV = 2’b00;" | 13:48 |
MoeIcenowy | When I specify it with #(.CLKHF_DIV(2'b10), the json specifies `"parameters": { "CLKHF_DIV": 2 }` | 13:51 |
MoeIcenowy | when I use `#(.CLKHF_DIV("0b10"))` (which works now) | 13:51 |
MoeIcenowy | `"parameters": { "CLKHF_DIV": "0b10" }` | 13:51 |
*** tlwoerner has joined #yosys | 14:02 | |
*** rohitksingh has joined #yosys | 14:09 | |
*** Kamilion|ZNC has joined #yosys | 14:09 | |
*** show1 has quit IRC | 14:17 | |
*** Kamilion has quit IRC | 14:17 | |
*** fseidel has quit IRC | 14:17 | |
*** kg6hum has quit IRC | 14:17 | |
*** Kamilion|ZNC is now known as Kamilion | 14:17 | |
tnt | MoeIcenowy: lots of lattic IP actually use this weird 'number in string' notation. | 14:19 |
*** Twix has quit IRC | 14:19 | |
tnt | examples files in icecube 2 use it for HFOSC as well. | 14:21 |
tnt | so does their own simulation model : https://pastebin.com/BByG28FZ | 14:21 |
tpb | Title: //-------------------------------------- // ---- SB_HFOSC ------ //--------- - Pastebin.com (at pastebin.com) | 14:21 |
*** Twix has joined #yosys | 14:22 | |
*** show1 has joined #yosys | 14:24 | |
*** X-Scale` has joined #yosys | 14:28 | |
daveshah | Anyone who happens to be in the London area on 21st March, https://www.eventbrite.co.uk/e/fpga-hardware-and-tooling-past-present-and-future-open-source-sg-registration-58429565403 | 14:29 |
*** kg6hum has joined #yosys | 14:29 | |
*** X-Scale has quit IRC | 14:30 | |
*** X-Scale` is now known as X-Scale | 14:30 | |
*** rohitksingh has quit IRC | 14:52 | |
*** citypw has joined #yosys | 15:24 | |
MoeIcenowy | tnt: so the document doesn't match iCECube2? | 15:31 |
MoeIcenowy | now I can say Lattice is the worst FPGA vendor outside China that I have seen | 15:35 |
*** emeb has joined #yosys | 15:36 | |
tnt | MoeIcenowy: well, it might just be that icecube2 accpets both format ... I didn't check. | 15:38 |
emeb | tnt: did something silly last night - modified that up5k 6502 project by adding an old 8kB BASIC in ROM. Running ancient MS BASIC on an FPGA is kind of a hoot. | 15:40 |
shapr | whoa cool | 15:46 |
tnt | emeb: :) | 15:48 |
tnt | you don't have a video out on your board ? | 15:48 |
*** leviathanch has quit IRC | 15:58 | |
emeb | tnt: not yet - I ordered some connectors yesterday though so it's in process. | 16:03 |
*** maikmerten has joined #yosys | 16:36 | |
shapr | emeb: I want to see your ancient BASIC on FPGA | 16:42 |
emeb | shapr: I can github it if you like | 16:46 |
shapr | sure! | 16:47 |
shapr | I don't have up5k, only ice40 chips hanging around | 16:48 |
emeb | shouldn't be too hard to tweak it for others - just needs a few kB RAM and 12kB ROM. | 16:49 |
*** citypw has quit IRC | 16:53 | |
maikmerten | ice40 in hx8k flavor has 16 kB of BRAM | 16:59 |
emeb | Should be fine. | 16:59 |
maikmerten | so 12kB of ROM leaves 4kB for other stuff | 16:59 |
emeb | it doesn't actually even need that 4kB of bootrom - that's just how I currently have it partitioned. only really needs 8kB for BASIC and another 512B or so for the startup & serial interface routines. | 17:00 |
emeb | Wow - recently upgraded my Fedora system to F29 and now I can't compile nextpnr | 17:11 |
emeb | seems that it's looking for Python 3.6 but F29 has 3.7 | 17:11 |
emeb | probably something going on with the cmake cache. need to blow away and start from scratch I guess | 17:13 |
emeb | that did it | 17:18 |
*** gsi__ is now known as gsi_ | 17:21 | |
*** rohitksingh has joined #yosys | 17:36 | |
emeb | shapr: here's the github project w/ 6502 + MS BASIC -> https://github.com/emeb/up5k_basic | 17:37 |
tpb | Title: GitHub - emeb/up5k_basic: A small 6502 system with MS BASIC in ROM (at github.com) | 17:37 |
MoeIcenowy | but I think MS BASIC has copyright problem... | 18:02 |
emeb | Of course it does | 18:03 |
emeb | OTOH there are many other projects that reproduce various old ROMs and they don't have troubles. | 18:04 |
emeb | and if anyone complains I'll remove the .hex file and provide instructions on how to recreate it. | 18:05 |
emeb | And for what it's worth, MS did release the assembly source code for this old 6502 BASIC a few years ago so I suspect they're not too concerned about it any longer. | 18:07 |
sorear | so when do we get https://github.com/Microsoft/MS-DOS/tree/master/v2.0 for BASIC | 18:07 |
tpb | Title: MS-DOS/v2.0 at master · Microsoft/MS-DOS · GitHub (at github.com) | 18:07 |
MoeIcenowy | emeb: are you sure it's official release? | 18:12 |
MoeIcenowy | The MS-DOS 2.0 is a official release with open-source license | 18:13 |
MoeIcenowy | oh the microsoft basic source is not official | 18:14 |
tnt | It's on github.com/Microsoft ... | 18:16 |
tnt | and they own github. | 18:16 |
emeb | heh | 18:16 |
tnt | oh nm, that link is not the basic | 18:16 |
emeb | https://github.com/brajeshwar/Microsoft-BASIC-for-6502-Original-Source-Code-1978 | 18:17 |
tpb | Title: GitHub - brajeshwar/Microsoft-BASIC-for-6502-Original-Source-Code-1978: This is the original 1978 source code of Microsoft BASIC for 6502 with all original comments, documentation and easter eggs. (at github.com) | 18:17 |
emeb | been sitting there in full view for 4 years. | 18:17 |
*** m4ssi has quit IRC | 18:18 | |
MoeIcenowy | nobody cares it won't mean it's legal | 18:18 |
MoeIcenowy | in US these source code can only get legalized at 2098 | 18:19 |
MoeIcenowy | (can you live so long? ;-) | 18:20 |
tnt | I'm not in the US :p | 18:20 |
MoeIcenowy | then it will better | 18:20 |
MoeIcenowy | at my country the copyright will expire at 2028 | 18:20 |
MoeIcenowy | acceptable | 18:20 |
emeb | As noted - if anyone complains I'll remove the hex file and include instructions on how to recreate it from all the other places where you can get it. | 18:21 |
emeb | In the meantime - "For educational purposes only". | 18:21 |
corecode | what system was MS BASIC for 6502 used in? | 18:21 |
sorear | commodore pet | 18:21 |
MoeIcenowy | many | 18:21 |
corecode | so commodore basic is ms basic? | 18:22 |
emeb | yes | 18:22 |
MoeIcenowy | Commodore / Apple / some others | 18:22 |
corecode | aha! | 18:22 |
emeb | every mfg had their own customizations | 18:22 |
emeb | special keywords, etc. | 18:22 |
*** proteusguy has joined #yosys | 18:22 | |
emeb | but it all derived from the same code base | 18:22 |
corecode | jesus assembler | 18:24 |
emeb | copyright discussion added to the README.md file to cya | 18:30 |
*** tmiw has quit IRC | 18:39 | |
*** tmiw has joined #yosys | 18:41 | |
*** rohitksingh has quit IRC | 19:14 | |
sxpert | corecode: source code on github somewhere | 19:16 |
*** proteusguy has quit IRC | 19:42 | |
corecode | say what? | 19:44 |
sxpert | corecode: https://github.com/mist64/c64rom | 19:50 |
tpb | Title: GitHub - mist64/c64rom: Fully Commented Commodore 64 ROM Disassembly (at github.com) | 19:50 |
*** maikmerten has quit IRC | 21:53 | |
*** emeb has quit IRC | 23:31 | |
*** emeb_mac has joined #yosys | 23:34 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!