|
anybody write a tolerable to use shim for vhdl or verilog yet having to write c# programs to emit dozens of lines of boilerplate is getting really tedious
|
# ? Mar 6, 2015 05:22 |
|
|
# ? May 15, 2024 02:53 |
|
compounded by the no systemverilog issue, of course
|
# ? Mar 6, 2015 05:22 |
|
and the poverty-tier modelsim license, restricted to one hdl type at a time, hope those opencores vhdl blocks work
|
# ? Mar 6, 2015 05:23 |
|
Bloody posted:anybody write a tolerable to use shim for vhdl or verilog yet having to write c# programs to emit dozens of lines of boilerplate is getting really tedious I've been too busy with work stuff to do more than shoot the poo poo about writing a Lisp HDL that outputs Verilog. (plus you'd have to use Lisp to use it. and my employer would have to sign off for me to share it…) instead of writing c# to emit boilerplate though, could use use the T4 template system or something? seems like that might be a better fit for just expanding out boilerplate, and it's part of Visual Studio too.
|
# ? Mar 6, 2015 06:13 |
|
eschaton posted:instead of writing c# to emit boilerplate though, could use use the T4 template system or something? seems like that might be a better fit for just expanding out boilerplate, and it's part of Visual Studio too.
|
# ? Mar 6, 2015 16:31 |
|
Bloody posted:did not know that existed I've never used it, since I don't actually do Windows stuff, but I think it came out of shaggar's favorite framework (entity framework) for their codegen stuff.
|
# ? Mar 7, 2015 04:12 |
|
If you have 8 bi-color (red/green) LEDs (and assume that yellow is off-limits because it's a cheap piece of poo poo from China and green is weaker than red so red+green=red) and you need to indicate a percentage change from, say, -3% to +3%, where -1%-+1% is the most common swing (think stock market) how would you do so?
|
# ? Mar 7, 2015 20:08 |
|
carefully
|
# ? Mar 7, 2015 20:16 |
|
Bloody posted:carefully thank u sir
|
# ? Mar 7, 2015 20:17 |
|
i would arrange them in a bar like thus x x x x x x x x and i would make the left four red only and the right four green only i would indicate zero by turning nobody on i would indicate +/-0.5% with the inner pair from there i would go +/-1, +/-2, +/-3, turning on additional lights
|
# ? Mar 7, 2015 20:20 |
|
or i'd get the yellow mode working, throw one out, and use yellow as 0 and then +/- 1/2/3
|
# ? Mar 7, 2015 20:20 |
|
Bloody posted:i would arrange them in a bar like thus that is way too coarse imo. I want it to be kinda like logarithmic so that everyday swings are noticeable e: dunno if I can get yellow working. there is a resistor network I could potentially replace with some more sensible values but I am not sure that will happen e: this is what I'm working with http://www.dx.com/p/8x-digital-tube-8x-key-8x-double-color-led-module-81873 sleepy gary fucked around with this message at 20:28 on Mar 7, 2015 |
# ? Mar 7, 2015 20:23 |
|
project +/- 3.0 to +/- 255, display binary value in green > 0 in red <0
|
# ? Mar 7, 2015 20:32 |
|
Bloody posted:project +/- 3.0 to +/- 255, display binary value in green > 0 in red <0 I have been avoiding this idea because the target audience won't understand it fully but I think it makes sense because even if you can't convert the binary back to decimal it still makes a fairly intuitive display edit: actually it doesn't ugh.
|
# ? Mar 7, 2015 20:37 |
|
you could use all 8 and show positive values like this g g g . . . . . and negative values like this . . . . . . r r (it's color-blind-friendly!) and use pwm to scale the intensity of the outermost light for fractions, or even just blink it logarithmic may be good anyway e: blinking is annoying because it attracts attention but it would look cool if the value is moving quickly because it's like blink blink blink blink blinkblinkblinkblink *solid*, next light starts blinking suffix fucked around with this message at 20:46 on Mar 7, 2015 |
# ? Mar 7, 2015 20:39 |
|
suffix posted:you could use all 8 and show positive values like this yeah this is a dece idea. i would recommend doing some analysis of your underlying data to determine a good way to quantize it to 8 (16) points
|
# ? Mar 7, 2015 20:44 |
|
and also get the yellow working so you don't have the semipredicate problem ("is this showing zero or did the board burn out?")
|
# ? Mar 7, 2015 21:03 |
|
octal numbers
|
# ? Mar 7, 2015 21:33 |
|
DNova posted:If you have 8 bi-color (red/green) LEDs (and assume that yellow is off-limits because it's a cheap piece of poo poo from China and green is weaker than red so red+green=red) and you need to indicate a percentage change from, say, -3% to +3%, where -1%-+1% is the most common swing (think stock market) how would you do so? is this for bitcoins? because if it is there are some simplifying assumptions you can make.
|
# ? Mar 7, 2015 22:38 |
|
eschaton posted:is this for bitcoins? how dare you
|
# ? Mar 8, 2015 06:53 |
|
DNova posted:If you have 8 bi-color (red/green) LEDs (and assume that yellow is off-limits because it's a cheap piece of poo poo from China and green is weaker than red so red+green=red) and you need to indicate a percentage change from, say, -3% to +3%, where -1%-+1% is the most common swing (think stock market) how would you do so? Sigmoid and 1-sigmoid for outputs green and red and offset/scale it so that your poorly defined sample space is in it and it isnt just red all the time
|
# ? Mar 8, 2015 07:43 |
|
I decided on 0.1 0.25 0.33 0.5 0.75 1 2 3 because its very human readable that way
|
# ? Mar 8, 2015 20:35 |
|
btw I think I raped my rpi gpio with 5v a bunch of times on accident but it liked it so no crime was committed
|
# ? Mar 8, 2015 20:39 |
|
yes 5v-tolerant gpio is a thing
|
# ? Mar 10, 2015 15:29 |
|
DNova posted:btw I think I raped my rpi gpio with 5v a bunch of times on accident but it liked it so no crime was committed dont do this, both the 5v tolerant gpio and the lovely language
|
# ? Mar 10, 2015 18:37 |
|
Mido posted:dont do this, both the 5v tolerant gpio and the lovely language
|
# ? Mar 10, 2015 23:10 |
|
get over yourselves
|
# ? Mar 13, 2015 19:08 |
|
be a less terrible person
|
# ? Mar 13, 2015 19:08 |
|
never!
|
# ? Mar 13, 2015 19:09 |
|
guys please don't use the word "lovely" with respect to anything that isn't literally feces also I'm super offended by being called terrible this is a safe space and only good words can be used here thanks in advance
|
# ? Mar 13, 2015 19:17 |
|
no its honestly ultra poo poo to use rape like that, dont do it
|
# ? Mar 13, 2015 19:18 |
|
yes you're right sorry I didn't mean to promote a hostile environment to raspberry pis
|
# ? Mar 13, 2015 19:34 |
|
DNova posted:yes you're right sorry I didn't mean to promote a hostile environment to raspberry pis raped idiot
|
# ? Mar 13, 2015 20:27 |
|
this thread
|
# ? Mar 13, 2015 20:27 |
|
if you want to have a lovely attitude please stick to software. hardware people are good people.
|
# ? Mar 13, 2015 20:28 |
|
I don't know how you think you can judge who I am because I said that I raped an electrical interface on a small computer. I think you have a lovely attitude. But, in all honesty, I'm sorry for the derail (not for what I said). I didn't realize this was that kind of a thread, so I'll see myself out. Blotto Skorzany posted:raped idiot and this is somehow cool with you heroes, lol
|
# ? Mar 13, 2015 20:31 |
|
DNova posted:I'll see myself out. bye
|
# ? Mar 13, 2015 20:31 |
|
Bloody posted:this thread can we have a new one without the "it's political correctness gone mad, stu" person pls
|
# ? Mar 13, 2015 21:41 |
|
I really do apologize, but put it in sh/sc if you don't want people to gently caress around. I don't think yospos should be too serious. Sorry, everyone.
|
# ? Mar 13, 2015 21:50 |
|
|
# ? May 15, 2024 02:53 |
|
if you're too bereft of vocabulary and must turn gauche to explain a simple concept you're not retreating from "too serious"
|
# ? Mar 13, 2015 22:05 |