#garfield Logs

Jul 31 2021

#garfield Calendar

12:06 AM rue_shop2: SWEET, its still alive!
12:54 AM polprog: heh
12:54 AM polprog: this is why we need open sillicon
12:55 AM polprog: you could have put that not gate on your open fpga design
12:55 AM polprog: then just pay a zillion dollars to get 5 made
12:55 AM polprog: :v
12:55 AM polprog: or wait until google makes a batch of chips
12:55 AM rue_shop3: I really dont get why it wont work tho
12:56 AM rue_shop3: I suspect the inputs have no schmidtt
12:56 AM rue_shop3: ok I installed a user led
12:56 AM rue_shop3: I'm worried about Tom_L he's been kinda quiet..
01:04 AM polprog: hmm yes
01:04 AM polprog: maybe try putting a buffer reg in there
01:04 AM polprog: oh wai
01:04 AM rue_shop2: it would sure be nice if ise opened up a thing to help write the ucf file
01:05 AM polprog: thats the clock input, hmm
01:05 AM rue_shop2: you cant have a , yea
01:05 AM rue_shop2: when I did try an RC osc that went thru a latch, it worked, kinda
01:05 AM polprog: didnt Tom say anything?
01:05 AM rue_shop2: but I had another clock
01:05 AM rue_shop2: not for a while now
01:05 AM polprog: maybe he's on vacation
01:06 AM rue_shop2: maybe
01:09 AM rue_shop2: ooo I gonna make an led turn on....
01:09 AM rue_shop2: waiting for compile...
01:09 AM rue_shop2: assign ULED = 1;
01:09 AM rue_shop2: I'm sure it'll only take a few more minutes.
01:12 AM rue_shop2: haha crap
01:12 AM rue_shop2: Sorry, can't program Xilinx device 'XC9536' from family 0x4a A more recent release may be able to.
01:12 AM rue_shop2: what do I do polprog
01:14 AM polprog: huh
01:14 AM polprog: try openocd
01:14 AM rue_shop2: I'm trying to look that up
01:14 AM rue_shop2: openocd seems to be useless for anything tho, I dont know why it exists
01:14 AM polprog: https://polprog.net/rozne1/ircjunk/fpga/openocd-good.cfg
01:15 AM polprog: it was working for me
01:15 AM polprog: just need to find xc9 config file
01:15 AM polprog: https://polprog.net/rozne1/ircjunk/fpga/program.sh
01:15 AM polprog: ok, shower time
01:16 AM polprog: then gotta pick someone up from the airport, all day gone :(
01:32 AM rue_shop2: ooooooh
01:33 AM rue_shop2: that was a whole day of work
01:34 AM rue_shop2: nobody has worked on xc3sprog for about 4 years
01:34 AM rue_shop2: some of the files are 13 years old
01:42 AM rue_shop2: oh
03:44 AM polprog: wow
03:44 AM polprog: glad you got it working
03:47 AM rue_mohr: just barely
03:47 AM rue_mohr: thanks to the fellow in openocd
03:47 AM rue_mohr: buuuut
03:48 AM rue_mohr: this might mean now I can do other unsupported chips
03:48 AM rue_mohr: aka, if Tom_L makes me a svf for the XC4000 chip he has, I could flash the one I have
03:48 AM rue_mohr: +-
04:36 AM polprog: yeah, openocd can do way more chips
04:36 AM polprog: with an svf you can program literally anything
04:37 AM polprog: you just need to define the jtag tap
04:37 AM polprog: IR len, expected ID and thats all
04:44 AM rue_shop2: thats easy
04:44 AM rue_shop2: you can get that from xc3sprog on its jtag scan
04:46 AM rue_shop2: heh, this deisgn is a hair big for this chip
04:46 AM rue_shop2: I'm having to wiggle to make it fit
04:50 AM rue_shop2: hahah I can compare against 60, but 59 takes too much room :)
04:53 AM polprog: sounds like fun :D
04:55 AM rue_shop2: they were test numbers, I'm not sure if my bit postions are right
04:55 AM rue_shop2: and I cant simulate it
04:55 AM rue_shop2: :/
04:57 AM rue_shop2: Macrocells Product Terms Function Block Registers Pins
04:57 AM rue_shop2: Used/Tot Used/Tot Inps Used/Tot Used/Tot Used/Tot
04:57 AM rue_shop2: 31 /36 ( 86%) 154 /180 ( 86%) 45 /72 ( 62%) 31 /36 ( 86%) 3 /34 ( 9%)
04:58 AM rue_shop2: its a pretty small chip
04:59 AM rue_shop2: 3am
04:59 AM rue_shop2: I better get some sleep
05:13 AM polprog: yeah
05:13 AM polprog: 3am is when i go to sleep at latest
05:13 AM polprog: 4am and you might start cracking apple games ;)
01:01 PM rue_mohr: !!!
01:01 PM rue_mohr: overcast day
01:01 PM rue_mohr: I thought it was 6am
05:06 PM rue_shop2: getting the screw out of the chuck, doesn't mean it will come off tho
05:06 PM rue_shop2: is anyone alive?
05:14 PM aandrew: nobody but us chickens
05:27 PM rue_mohr: ok, that makes someone
05:28 PM rue_mohr: hows living away from home?
05:29 PM rue_mohr: http://ruemohr.org/~ircjunk/tempimage/p1200488.jpg
05:29 PM rue_mohr: ^^ Tom_L if your alive?
05:50 PM rue_mohr: polprog, do you mean low temp magnet wire?
05:50 PM rue_mohr: litz is lots of fine strands
05:50 PM rue_mohr: used for high freq stuff
06:55 PM rue_mohr: polprog, ok, 1 min, you have an eprom writer
06:55 PM rue_mohr: do you know if it was a 512k chip?
07:10 PM rue_shop2: polprog, ?
07:10 PM polprog: hey
07:10 PM polprog: no, it came without one at all
07:14 PM rue_shop3: ok, how many pins on the socket, and where is vcc and gnd
07:14 PM rue_shop3: (is vcc back 2 pins or at the corner)
07:17 PM polprog: uhh
07:17 PM polprog: there are some pics in ircjunk/cardputer
07:17 PM polprog: im sleeping now
07:17 PM polprog: ill check tomorrow
07:18 PM rue_shop3: hmm, odd, the highest I have in the drawer is 486, lets see what boards I have
07:18 PM polprog: its a 4 layer board
07:18 PM rue_shop3: where is your ircjunk
07:18 PM rue_shop3: whatever, 586
07:18 PM polprog: https://polprog.net/rozne1/ircjunk/cardputer/
07:18 PM polprog: id have expected you bookmarked it :p
07:19 PM polprog: already
07:19 PM polprog: nvm. I have to sleep.. Ill check that tomorrow
07:20 PM rue_shop3: damnit, we never get to play
07:22 PM rue_shop3: I cant find the right image
07:22 PM rue_shop3: picture
07:22 PM rue_shop3: I found an award 586 bios
07:23 PM rue_shop3: its on a 32 pin
07:23 PM rue_shop3: 29010 (1M)
07:33 PM rue_shop3: what about an AVR core for an FPGA?
07:33 PM rue_shop3: then gcc
08:08 PM rue_shop2: it looks like there are a few already
08:52 PM rue_shop2: when did one screen become not enough?
08:52 PM rue_shop2: should I be worried about tom yet?
08:55 PM rue_shop2: hahah I cant change even the output pin assigment and have the design still fit in the cpld
09:00 PM rue_shop2: i'm hitting the product term limit tho
09:00 PM rue_shop2: its like I should turn more things into flipflops
09:06 PM Tom_L: sherline flatten the pillow blocks or a bigger mill?
09:06 PM Tom_L: you're sure infatuated with fpga lately...
09:07 PM rue_shop2: hey!
09:07 PM rue_shop2: cpld, but whatever :)
09:07 PM rue_shop2: bigger mill
09:09 PM Tom_L: https://opencores.org/projects?expanded=Processor
09:09 PM rue_shop2: oh I should count down on numbers I compare against
09:10 PM Tom_L: https://github.com/agural/AVR-Processor
09:10 PM rue_shop2: yea, it looks like they already exist
09:10 PM rue_shop2: should I try to make a better one for no reason?
09:10 PM rue_shop2: I could write an HD447880 library while I'm at it ;)
09:10 PM Tom_L: not unless you have a purpose for doing so
09:13 PM rue_shop2: its funny
09:13 PM rue_shop2: its such a tight fit to this cpld, that any one change pushes it over
09:14 PM rue_shop2: I'm trying to rework it to reduce the terms
09:14 PM rue_shop2: I'm not hitting a macrocell limit
09:15 PM rue_shop2: 36 macrocells has, like, no elbow room
09:15 PM Tom_L: it's like undoing a ratsnest on a board file. you need the most efficient path
09:15 PM rue_shop2: :) I'd thought it was 32, so 36 is a relief
09:16 PM rue_shop2: it fit! it fit!!!
09:16 PM rue_shop2: I broke a 30 bit counter into two 15 bit, and counted down on the one I was doing the shortened cycle with
09:17 PM rue_shop2: so the compare is 0 and the load is a random period
09:17 PM rue_shop2: so
09:17 PM rue_shop2: I have to use an svf file to program this
09:21 PM rue_shop2: familiar with the svf thing tom?
09:24 PM Tom_L: impact generated file
09:24 PM Tom_L: a 'fit' file i think
09:24 PM rue_shop2: yea, its like a recording of the jtag transaction
09:24 PM rue_shop2: svf
09:25 PM rue_shop2: ya use impact, click output->svf
09:25 PM rue_shop2: do your things, then output->stop svf recording
09:25 PM rue_shop2: you could give me an svf for a XC4000 and I could write it
09:25 PM rue_shop2: tell me if you want to give it a try for a laugh
09:26 PM Tom_L: can't
09:26 PM rue_shop2: did you have the old ise?
09:26 PM Tom_L: no xc4000 to connect to to generate it
09:26 PM rue_shop2: not anymore?
09:26 PM rue_shop2: you dont need one
09:26 PM rue_shop2: the svf mimics everything, you dont actually need a chip
09:27 PM Tom_L: i have 9.xx but not installed
09:27 PM rue_shop2: sure
09:27 PM rue_shop2: this isn't working right....
09:27 PM rue_shop2: its supposed to set the output on for 2 minutes every 6 hours
09:29 PM rue_shop2: https://paste.debian.net/1206201/
09:29 PM rue_shop2: the shop I was at today
09:29 PM rue_shop2: he has a hand operated shaper
09:29 PM rue_shop2: never even imagined a hand operated one
09:30 PM Tom_L: how big a stroke?
09:30 PM rue_shop2: about 4" or so
09:30 PM Tom_L: limited use but yeah
09:31 PM rue_shop2: yea
09:31 PM rue_shop2: hey, you shown anyone ya know how to send us a message if something happens over there?
09:31 PM Tom_L: nobody but me cares about this
09:32 PM rue_shop2: :/
09:32 PM Tom_L: one day i'll just vanish like many before
09:32 PM Tom_L: kat, z, ....
09:32 PM aandrew: yeah that's what happened with my friend
09:33 PM aandrew: I have his pc but could not get his google password to get things shut down right
09:33 PM rue_shop2: if I'm gonna exist till I'm 8000 I don't ever think I'll get ok with it
09:33 PM Tom_L: then why try?
09:34 PM rue_shop2: yea, well
09:34 PM aandrew: rue_shop2: did you try simulating that?
09:34 PM rue_shop2: I cant
09:35 PM rue_shop2: the simulator doesn't work
09:35 PM Tom_L: i don't see any svf files on my drive
09:35 PM rue_shop2: you have to specifically make them
09:35 PM Tom_L: there should be some if it generates them
09:35 PM rue_shop2: by recording them in impact
09:35 PM rue_shop2: want a walkthru?
09:36 PM Tom_L: not without a purpose
09:36 PM rue_shop2: wtf, the clock rate just changed
09:36 PM rue_shop2: I wonder if my oscillator sucks
09:44 PM rue_shop2: !!!
09:44 PM rue_shop2: yes, yes my oscillator is having fits
09:44 PM rue_shop2: continious progress is nice when it stays in the forward direction
09:44 PM Tom_L: i dunno if i can have 2 versions installed at once
09:44 PM aandrew: something like
09:44 PM aandrew: process(clk32)
09:44 PM aandrew: if clk32'event and clk32 = '1' then
09:44 PM aandrew: clk32ctr <= clk32ctr - 1;
09:44 PM rue_shop2: I got the impression it was set up to have lots
09:44 PM aandrew: if clk32ctr == 0 then
09:44 PM aandrew: sec = sec + 1;
09:44 PM aandrew: if sec > 21600 then
09:44 PM aandrew: wff <= '1';
09:44 PM aandrew: else
09:45 PM rue_shop2: Tom_L, xc4004-pc84, xc4005-pc84, xc4003-pc84
09:45 PM Tom_L: cpld?
09:45 PM rue_shop2: ? yes?
09:46 PM rue_shop2: but if those are 3, 4 and 5 macrocell, forget it :)
09:46 PM rue_shop2: aandrew, just a sec, I'm trying to absort
09:46 PM rue_shop2: b
09:47 PM Tom_L: ok 9 installed
09:47 PM rue_shop2: aandrew, I tried to do it with a single 30 bit counter, but doing compares against it took up too many terms
09:47 PM aandrew: I'm not using one counter
09:48 PM rue_shop2: heh, I'm reading too fast
09:48 PM Tom_itx: so what do you want?
09:49 PM aandrew: I have a 13 bit clk32 for getting me one second, and then a 16 bit one for seconds
09:49 PM rue_shop2: aandrew, also the > put me over term limit, I use a ff and set/reset it
09:49 PM aandrew: but
09:49 PM rue_shop2: Tom_itx, how about a 4 bit counter?
09:49 PM rue_shop2: clock on (you choose)
09:49 PM Tom_itx: got a file for me to make a project?
09:49 PM rue_shop2: outputs A, B, C, D on (you choose)
09:49 PM aandrew: why not count every two seconds (65536 rollover) and then compare to a 14-bit bi-second value
09:49 PM rue_shop2: hmm, no
09:49 PM rue_shop2: aandrew, !!
09:50 PM Tom_itx: haven't done this in ages. like starting over
09:50 PM rue_shop2: compare it against "15" for the seconds divided by 8
09:50 PM rue_shop2: Tom_itx, :)
09:50 PM rue_shop2: er
09:50 PM rue_shop2: compare it against "15" for the seconds divided by 16
09:51 PM rue_shop2: 4 bit compare
09:51 PM aandrew: yep that is even better
09:51 PM Tom_itx: i see no xc400x in the list of devices
09:52 PM rue_shop2: hmm does it seem newer?
09:52 PM aandrew: or even better, put as many bits as you can into the 32k counter that just rolls over and over
09:52 PM Tom_itx: spartan2 spartan3
09:52 PM rue_shop2: yea
09:52 PM rue_shop2: Tom_itx, I'm looking for a year
09:52 PM aandrew: a two minute counter would be ideal
09:53 PM rue_shop2: 1997
09:53 PM rue_shop2: where was I when all this was going down! :(
09:54 PM rue_shop2: Tom_itx, what date area is the ise?
09:54 PM rue_shop2: ok, thinking
09:54 PM rue_shop2: 1 second
09:54 PM rue_shop2: 2 seconds
09:54 PM rue_shop2: 4 seconds
09:54 PM Tom_itx: copywright 1995 2007
09:55 PM rue_shop2: 8 seconds
09:55 PM rue_shop2: Tom_itx, I wonder if thats too late then?
09:55 PM rue_shop2: maybe I need to program it with a morse key. :)
09:56 PM rue_shop2: so 16 second increments
09:56 PM rue_shop2: 7.5 ticks per minute
09:56 PM Tom_L: 4.2
09:56 PM rue_shop2: !
09:57 PM Tom_L: https://www.xilinx.com/support/answers/15453.html
09:57 PM Tom_L: get your morse key out
09:57 PM rue_shop2: :)
09:57 PM rue_shop2: "logic cell array"
09:57 PM rue_shop2: uhhhh
09:58 PM rue_shop2: datasheeting...
09:59 PM rue_shop2: 360-616 macrocells, before they were called that
10:00 PM rue_shop2: hah! they break down jtag to bits!
10:03 PM rue_shop2: huh didn't have a pinout
10:05 PM rue_shop2: 404: Page Not Found
10:05 PM rue_shop2: can we get 4.2 ?
10:08 PM rue_shop2: I cant seem to find a link for it
10:10 PM rue_shop2: found the pinout, looks like they have always been bad at this
10:11 PM rue_shop2: huh, no marked jtag pins
10:12 PM rue_shop2: oh theres one
10:12 PM rue_shop2: and another!
10:14 PM rue_shop2: my god tom, its like looking at something done last week, thats now an advanced technology
10:15 PM rue_shop2: and this was the foundation of it, right here
10:15 PM rue_shop2: I didn't know 1997 was so long ago
10:17 PM rue_shop2: Tom_L, I'll, at some point, isolate one of these chips and see if I can even get a reply from a jtag interface
10:17 PM rue_shop2: knock on the door and see if anyone says hello
10:17 PM Tom_L: finally got in to get 4.2
10:19 PM rue_shop2: did you find 4.2?
10:25 PM rue_shop2: andrew, just shuffled the bits back, trying for a compare
10:32 PM Tom_L: no key for it yet
10:39 PM Tom_L: finally
10:39 PM Tom_L: for windows only
10:39 PM Tom_L: 4.2 install
10:40 PM Tom_L: key: 0500-5078-0290
10:43 PM Tom_L: win98 or nt
10:46 PM rue_shop2: ok!
10:48 PM Tom_L: core dump #2
10:48 PM Tom_L: fuck
10:49 PM aandrew: the good thing about dumping core is it doesn't break tooling or destroy the workpiece
10:51 PM rue_shop2: maybe its too far behind
10:54 PM Tom_L: safe mode.. uninstall 4.2
10:54 PM Tom_L: find a newer chip to play with!
11:09 PM rue_shop2: heh
11:09 PM rue_shop2: I can find an old windows ver
11:09 PM rue_shop2: but can you fwd me a link for that ver?
11:11 PM Tom_L: https://www.xilinx.com/downloadNav/vivado-design-tools/archive-ise.html
11:11 PM Tom_L: i'd get 4.2 then put the sp3 over it
11:11 PM Tom_L: it'll want login info
11:12 PM rue_shop2: ugh
11:13 PM rue_shop2: ok I'll deal with that later then
11:13 PM Tom_L: i removed it from my pc
11:13 PM Tom_L: or i'd post it
11:13 PM rue_shop2: I'm not set up for making the fake emails and loggin unique new passwords and stuff right now
11:13 PM rue_shop2: np
11:14 PM rue_shop2: you found it, I couldn't
11:49 PM rue_shop2: aandrew,
11:50 PM rue_shop2: what I had:
11:50 PM rue_shop2: Macrocells Product Terms Function Block Registers Pins
11:50 PM rue_shop2: Used/Tot Used/Tot Inps Used/Tot Used/Tot Used/Tot
11:50 PM rue_shop2: 30 /36 ( 83%) 78 /180 ( 43%) 58 /72 ( 81%) 30 /36 ( 83%) 3 /34 ( 9%)
11:50 PM rue_shop2: after shifting those extra 4 bits to the clock divider:
11:50 PM rue_shop2: Macrocells Product Terms Function Block Registers Pins
11:50 PM rue_shop2: Used/Tot Used/Tot Inps Used/Tot Used/Tot Used/Tot
11:50 PM rue_shop2: 30 /36 ( 83%) 47 /180 ( 26%) 31 /72 ( 43%) 30 /36 ( 83%) 3 /34 ( 9%)
11:50 PM rue_shop2: :)
11:50 PM rue_shop2: pretty good
11:51 PM rue_shop2: https://paste.debian.net/1206209/
11:51 PM rue_shop2: larger context
11:53 PM rue_shop2: so, I have an oscillator issue tho