clifford changed the topic of #yosys to: Yosys Open SYnthesis Suite: http://www.clifford.at/yosys/ -- Channel Logs: https://irclog.whitequark.org/yosys
emeb has quit [Quit: Leaving.]
gsi__ has joined #yosys
gsi_ has quit [Ping timeout: 268 seconds]
ZipCPU has quit [Ping timeout: 240 seconds]
ZipCPU has joined #yosys
m4ssi has joined #yosys
Cerpin has joined #yosys
Cerpin has quit [Remote host closed the connection]
AlexDaniel has quit [Ping timeout: 246 seconds]
m4ssi has quit [Remote host closed the connection]
Cerpin has joined #yosys
rohitksingh_work has joined #yosys
pie__ has joined #yosys
pie__ has quit [Remote host closed the connection]
pie__ has joined #yosys
pie_ has quit [Ping timeout: 245 seconds]
Cerpin has quit [Ping timeout: 272 seconds]
Cerpin has joined #yosys
puddingp1mp has joined #yosys
nurelin_ has quit [Ping timeout: 250 seconds]
nurelin_ has joined #yosys
svenn has quit [Quit: Ping timeout (120 seconds)]
puddingpimp has quit [Read error: Connection reset by peer]
Twix has quit [Ping timeout: 246 seconds]
oldtopman has quit [Ping timeout: 246 seconds]
msgctl has quit [Ping timeout: 246 seconds]
leptonix has quit [Ping timeout: 246 seconds]
Marex has quit [Ping timeout: 246 seconds]
ec0 has quit [Ping timeout: 246 seconds]
Twix has joined #yosys
svenn has joined #yosys
leptonix has joined #yosys
parport0 has quit [Ping timeout: 246 seconds]
parport0 has joined #yosys
msgctl has joined #yosys
puddingp1mp is now known as puddingpimp
ec0 has joined #yosys
<MoeIcenowy> strange
<MoeIcenowy> yosys optimized out my SB_HFOSC
<MoeIcenowy> and then because clock is missing it optimized out the whole design
<MoeIcenowy> oh I forgot to remove PLL locked signal from reset logic
<MoeIcenowy> it's weird that Verilog allows wires to be used without definition
<MoeIcenowy> oh HFOSC with CLKHF_DIV defined cannot be used by nextonr
<MoeIcenowy> nextpnr *
<MoeIcenowy> ERROR: expected configuration string starting with '0b' for parameter 'CLKHF_DIV' on cell 'hfosc_OSC'
<MoeIcenowy> (I referred "iCE40 Oscillator Usage Guide" for configuration)
<MoeIcenowy> I tried to change the value of CLKHF_DIV from 2'b10 to "0b10"
<MoeIcenowy> it seems to work
<MoeIcenowy> but is not following the Lattice guide
emeb_mac has quit [Ping timeout: 245 seconds]
m4ssi has joined #yosys
promach has joined #yosys
<tnt> MoeIcenowy: `default_nettype none
rohitksingh_work has quit [Ping timeout: 252 seconds]
rohitksingh_work has joined #yosys
leviathanch has joined #yosys
Marex has joined #yosys
_whitelogger has joined #yosys
promach has quit [Ping timeout: 268 seconds]
rohitksingh_work has quit [Read error: Connection reset by peer]
<corecode> MoeIcenowy: it is following exactly the lattice docs
<MoeIcenowy> corecode: I don't think specify parameter as "0b10" correct
<MoeIcenowy> the doc uses "Defparam OSCInst0.CLKHF_DIV = 2’b00;"
<MoeIcenowy> When I specify it with #(.CLKHF_DIV(2'b10), the json specifies `"parameters": { "CLKHF_DIV": 2 }`
<MoeIcenowy> when I use `#(.CLKHF_DIV("0b10"))` (which works now)
<MoeIcenowy> `"parameters": { "CLKHF_DIV": "0b10" }`
tlwoerner has joined #yosys
rohitksingh has joined #yosys
Kamilion|ZNC has joined #yosys
show1 has quit [*.net *.split]
Kamilion has quit [*.net *.split]
fseidel has quit [*.net *.split]
kg6hum has quit [*.net *.split]
Kamilion|ZNC is now known as Kamilion
<tnt> MoeIcenowy: lots of lattic IP actually use this weird 'number in string' notation.
Twix has quit [Ping timeout: 246 seconds]
<tnt> examples files in icecube 2 use it for HFOSC as well.
<tnt> so does their own simulation model : https://pastebin.com/BByG28FZ
<tpb> Title: //-------------------------------------- // ---- SB_HFOSC ------ //--------- - Pastebin.com (at pastebin.com)
Twix has joined #yosys
show1 has joined #yosys
X-Scale` has joined #yosys
kg6hum has joined #yosys
X-Scale has quit [Ping timeout: 250 seconds]
X-Scale` is now known as X-Scale
rohitksingh has quit [Ping timeout: 246 seconds]
citypw has joined #yosys
<MoeIcenowy> tnt: so the document doesn't match iCECube2?
<MoeIcenowy> now I can say Lattice is the worst FPGA vendor outside China that I have seen
emeb has joined #yosys
<tnt> MoeIcenowy: well, it might just be that icecube2 accpets both format ... I didn't check.
<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.
<shapr> whoa cool
<tnt> emeb: :)
<tnt> you don't have a video out on your board ?
leviathanch has quit [Read error: Connection reset by peer]
<emeb> tnt: not yet - I ordered some connectors yesterday though so it's in process.
maikmerten has joined #yosys
<shapr> emeb: I want to see your ancient BASIC on FPGA
<emeb> shapr: I can github it if you like
<shapr> sure!
<shapr> I don't have up5k, only ice40 chips hanging around
<emeb> shouldn't be too hard to tweak it for others - just needs a few kB RAM and 12kB ROM.
citypw has quit [Ping timeout: 272 seconds]
<maikmerten> ice40 in hx8k flavor has 16 kB of BRAM
<emeb> Should be fine.
<maikmerten> so 12kB of ROM leaves 4kB for other stuff
<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.
<emeb> Wow - recently upgraded my Fedora system to F29 and now I can't compile nextpnr
<emeb> seems that it's looking for Python 3.6 but F29 has 3.7
<emeb> probably something going on with the cmake cache. need to blow away and start from scratch I guess
<emeb> that did it
gsi__ is now known as gsi_
rohitksingh has joined #yosys
<emeb> shapr: here's the github project w/ 6502 + MS BASIC -> https://github.com/emeb/up5k_basic
<tpb> Title: GitHub - emeb/up5k_basic: A small 6502 system with MS BASIC in ROM (at github.com)
<MoeIcenowy> but I think MS BASIC has copyright problem...
<emeb> Of course it does
<emeb> OTOH there are many other projects that reproduce various old ROMs and they don't have troubles.
<emeb> and if anyone complains I'll remove the .hex file and provide instructions on how to recreate it.
<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.
<sorear> so when do we get https://github.com/Microsoft/MS-DOS/tree/master/v2.0 for BASIC
<tpb> Title: MS-DOS/v2.0 at master · Microsoft/MS-DOS · GitHub (at github.com)
<MoeIcenowy> emeb: are you sure it's official release?
<MoeIcenowy> The MS-DOS 2.0 is a official release with open-source license
<MoeIcenowy> oh the microsoft basic source is not official
<tnt> It's on github.com/Microsoft ...
<tnt> and they own github.
<emeb> heh
<tnt> oh nm, that link is not the basic
<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)
<emeb> been sitting there in full view for 4 years.
m4ssi has quit [Remote host closed the connection]
<MoeIcenowy> nobody cares it won't mean it's legal
<MoeIcenowy> in US these source code can only get legalized at 2098
<MoeIcenowy> (can you live so long? ;-)
<tnt> I'm not in the US :p
<MoeIcenowy> then it will better
<MoeIcenowy> at my country the copyright will expire at 2028
<MoeIcenowy> acceptable
<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.
<emeb> In the meantime - "For educational purposes only".
<corecode> what system was MS BASIC for 6502 used in?
<sorear> commodore pet
<MoeIcenowy> many
<corecode> so commodore basic is ms basic?
<emeb> yes
<MoeIcenowy> Commodore / Apple / some others
<corecode> aha!
<emeb> every mfg had their own customizations
<emeb> special keywords, etc.
proteusguy has joined #yosys
<emeb> but it all derived from the same code base
<corecode> jesus assembler
<emeb> copyright discussion added to the README.md file to cya
tmiw has quit [Ping timeout: 244 seconds]
tmiw has joined #yosys
rohitksingh has quit [Remote host closed the connection]
<sxpert> corecode: source code on github somewhere
proteusguy has quit [Ping timeout: 246 seconds]
<corecode> say what?
<tpb> Title: GitHub - mist64/c64rom: Fully Commented Commodore 64 ROM Disassembly (at github.com)
maikmerten has quit [Quit: Ex-Chat]
emeb has quit [Quit: Leaving.]
emeb_mac has joined #yosys
tpb has quit [Remote host closed the connection]
tpb has joined #yosys