#garfield Logs

Nov 30 2019

#garfield Calendar

05:29 PM Tom_itx is now known as Tom_L
07:36 PM Tom_itx: http://www-classes.usc.edu/engr/ee-s/201/ee201l_lab_manual/Xilinx_Schematic_Entry/Xilinx_Schematic_Entry_Tutorial_r2.pdf
07:53 PM Tom_L: ok i found it!
08:03 PM rue_shop1: there is a program with a 4 letter name, that throws a library fault when I try to run it
08:03 PM Tom_L: haven't figured out how to assign pins but i found where to do it
08:09 PM rue_shop1: pcae
08:09 PM rue_shop1: pace
08:10 PM Tom_itx: yeah
08:23 PM Tom_L: ok working on pin assignments
08:24 PM Tom_L: you drag the pin from the list on the left into the schematic then hoover over the IC and the pin numbers will appear
08:24 PM rue_shop1: in pace?
08:24 PM Tom_L: yes
08:24 PM rue_shop1: pace just segfaults for me,
08:24 PM Tom_L: i'm working on it right now
08:24 PM rue_shop1: its missing the library libxp6
08:25 PM Tom_L: install it
08:25 PM rue_shop1: not available for 10
08:25 PM Tom_L: i'm in windoz
08:25 PM rue_shop1: but a fellow here pointed out there are docker images for webpack
08:25 PM Tom_L: haven't tried linux yet
08:25 PM Tom_L: just figured this out
08:25 PM rue_shop1: docker is a system for bundling all the files needed for an app into an isolated invironment
08:25 PM Tom_L: docker images?
08:26 PM Tom_L: haven't heard of that
08:27 PM rue_shop1: its a workaround for all the programs that have impossable dependencies
08:28 PM Tom_L: i assigned all the pins at the bottom of top.v
08:28 PM Tom_L: i dunno if that's all of em but it must be
08:31 PM Tom_L: i think all it covered was the anode and segments of the leds, clock and q
08:32 PM Tom_L: still a button, led, switches etc to use but they may not be in this design
08:34 PM rue_shop1: ok, there is another file it creates to dot hat
08:35 PM rue_shop1: ucf
08:35 PM Tom_L: yeah
08:35 PM Tom_L: what' ucf associated with? pace?
08:35 PM Tom_L: yes
08:35 PM Tom_L: just checked
08:35 PM Tom_L: i just created that
08:37 PM rue_shop1: I think so
08:38 PM rue_shop1: whats the content look like?
08:38 PM Tom_L: the ucf file?
08:38 PM rue_shop1: yes
08:38 PM rue_shop1: the video card I ordered yesterday arrived today
08:38 PM rue_shop1: 8-0
08:39 PM Tom_itx: #PACE: Start of PACE I/O Pin Assignments
08:39 PM Tom_itx: NET "an<0>" LOC = "P63" ;
08:39 PM Tom_itx: NET "an<1>" LOC = "P66" ;
08:39 PM Tom_itx: NET "an<2>" LOC = "P68" ;
08:39 PM Tom_itx: NET "an<3>" LOC = "P70" ;
08:39 PM rue_shop1: ok
08:39 PM rue_shop1: so the instance is called "NET" ?
08:39 PM rue_shop1: or an
08:39 PM Tom_itx: so what i had in the .v file was probably acceptable for another webpack version
08:40 PM Tom_itx: i'm used to "NET" with linuxcnc
08:40 PM Tom_itx: it's like a virtual wire
08:41 PM Tom_itx: NET contains the signal and LOC contains the physical pin
08:42 PM rue_shop1: ok
08:45 PM Tom_L: i must have been adding stuff to top.v when i quit
08:45 PM Tom_L: A1 & masteren aren't used
08:47 PM Tom_L: i might try it to see if the demo changes on the board
08:47 PM Tom_L: may just screw it up
08:47 PM Tom_L: i haven't double checked the pinouts on the board
09:03 PM Tom_L: not sure what the output file extension is
09:04 PM rue_mohr: bit
09:05 PM rue_mohr: :))) the state machine for the first level of my i2c code is working
09:05 PM rue_mohr: so, I have a new video card
09:05 PM rue_mohr: should I screw my machine up and install it now or later?
09:05 PM rue_mohr: (I have to build a new kernel)
09:52 PM Tom_L: i generaged a file but i didn't see a .bit file
09:53 PM Tom_L: gonna boot linux and try it
10:27 PM Tom_L: same issue
10:33 PM rue_mohr: hmm
10:33 PM rue_mohr: I could be wrong?
10:42 PM Tom_L: i'm not surprised
10:42 PM Tom_L: mine was a different error but still a dependency issue
10:45 PM Tom_L: why the new video card?
10:46 PM rue_shop1: the one I have is a pain and cant do 3 monitors
10:46 PM Tom_L: you need 3?
10:46 PM rue_shop1: they kinda dropped support for it the year after it was made
10:47 PM rue_shop1: and its been a pain to find drivers that dont cuase everything to crash
10:47 PM rue_shop1: I want 3
10:47 PM Tom_L: any more when i need more than one i use 2 pcs
10:47 PM rue_shop1: one for ref material (pdfs) one for code, and one for things like irc
10:47 PM Tom_L: ^^
10:47 PM Tom_L: i do the irc on the pdf one
10:47 PM rue_shop1: :)
10:47 PM Tom_L: it's slow
10:48 PM rue_shop1: it was a goal a long time ago that I couldn't get off the ground
10:48 PM Tom_L: j1900?
10:48 PM rue_shop1: no its a visiontek
10:48 PM rue_shop1: ATI
10:48 PM Tom_L: i had dual monitors for a while but really didn't use/like it that much
10:48 PM rue_shop1: or AMD
10:49 PM Tom_L: yeah, this is a J1900
10:49 PM Tom_L: i lost track of which MB is where
10:51 PM Tom_L: i had a cheap dual card that didn't require more PSU
10:51 PM Tom_L: nothing fancy
10:51 PM rue_shop1: yea, this one doesn't even have a cooling fan
10:51 PM rue_shop1: 1G
10:52 PM Tom_L: mine has a heatsink, no fan
10:52 PM rue_shop1: not certian, but I think my current card has more ram
10:56 PM Tom_L: at least i'm back to where i was 10 yrs ago on this cpld stuff
10:56 PM Tom_L: not quite
10:57 PM Tom_L: i still don't understand alot of it
10:59 PM rue_shop1: :)
10:59 PM rue_shop1: I have toys in the mail
11:03 PM Tom_L: what sort of toys?
11:03 PM rue_shop1: fpga
11:03 PM rue_shop1: and programmer
11:04 PM rue_shop1: huh, the i2c generator is WAY too fast for my code
11:04 PM Tom_L: ok the fpga requires external ram
11:04 PM Tom_L: to load the program... at least that's my understanding
11:04 PM rue_shop1: 22khz
11:04 PM rue_shop1: its a dev board
11:04 PM Tom_L: cpld flash directly
11:04 PM Tom_L: link?
11:05 PM Tom_L: like $18 wasn't it?
11:08 PM rue_shop1: arg
11:08 PM rue_shop1: the search keeps resetting to something suptis
11:08 PM rue_shop1: stupdi
11:09 PM Tom_L: https://www.aliexpress.com/item/33052982174.html
11:09 PM Tom_L: that was one wasn't it?
11:11 PM rue_shop1: no thats the programmer
11:11 PM rue_shop1: UGH
11:11 PM Tom_L: https://www.aliexpress.com/item/4000329870934.html
11:11 PM Tom_L: ?
11:11 PM rue_shop1: its impossable to search anything on the internet anymore
11:12 PM Tom_L: https://www.aliexpress.com/item/1000006622145.html
11:12 PM rue_shop1: oo thats the other thing, but that not what I got
11:12 PM Tom_L: or htat
11:12 PM Tom_L: that
11:12 PM rue_shop1: https://www.aliexpress.com/item/1000006622145.html
11:12 PM rue_shop1: https://www.aliexpress.com/item/1000006622145.html
11:12 PM rue_shop1: https://www.aliexpress.com/item/1000006622145.html
11:12 PM rue_shop1: thats it!
11:12 PM rue_shop1: it has 3 leds and 3 buttons you didn't notice
11:12 PM Tom_L: it was in robotics log
11:12 PM rue_shop1: ugh
11:12 PM Tom_L: i see the buttons
11:13 PM Tom_L: the ram holds the program on those
11:13 PM rue_shop1: hmm 'normal' speed i2c is 100khz
11:13 PM rue_shop1: I'm at 22khz and the chip is not even close to catching anything
11:14 PM rue_shop1: my udnerstanding is that the eeprom on there (8 megabits) holds the program and the ram is for use with the fpga operations
11:14 PM Tom_L: well that's what i meant
11:14 PM Tom_L: it's not loaded into the fpga directly
11:14 PM rue_shop1: hmmmm, I wonder what speed this avr is running
11:14 PM Tom_L: until you power it up
11:15 PM Tom_L: i should get one
11:15 PM rue_shop1: maybe I have to use the hardware subsys for this
11:58 PM rue_shop1: ok!
11:58 PM rue_shop1: stage 2 of my software i2c is working