Giter VIP home page Giter VIP logo

gplgpu's People

Contributors

asicguy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gplgpu's Issues

Use SCons to build gplgpu with iverilog

Just leaving this here... gplgpu could move to open source tools. It seems like quite a few things build with iverilog.

Here is an example SCons script I threw together:

verilog_simulation = Builder(
    action='iverilog -o $TARGET $VDLINCLUDES $SOURCES',
    suffix='.vvp', src_suffix='.v')

env = Environment(BUILDERS = {'GenSim' : verilog_simulation})

env['VDLINCLUDES'] = "-I ./include"

generic_sources = [
    'generic/gen_pipe.v'
]

math_sources = [
    generic_sources,
    'math/flt2int.v',
    'math/flt_add_sub.v',
    'math/flt_det.v',
    'math/flt_frac_test.v',
    'math/flt_fx_23p9.v',
    'math/flt_fx_mult.v',
    'math/flt_fx_uv.v',
    'math/flt_int.v',
    'math/flt_mult.v',
    #'math/flt_recip_orig.v',
    'math/log2_table.v',
    'math/sv_log2.v',
    'math/flt_add_sub_comb.v',
    'math/flt_alu.v',
    'math/flt_div.v',
    'math/flt_fx1616_mult.v',
    'math/flt_fx_24p8.v',
    'math/flt_fx_rnd.v',
    'math/flt_fx.v',
    'math/flt_mult_comb.v',
    'math/flt_recip_fast.v',
    #'math/flt_recip.v',
    #'math/real_log2_table.v'
]

env.GenSim('clk_gen/clk_gen.v')
env.GenSim('clk_switch/clk_switch.v')
env.GenSim('math/math', math_sources)
user@desktop hdl :) $ scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
iverilog -o clk_gen/clk_gen.vvp -I ./include clk_gen/clk_gen.v
iverilog -o clk_switch/clk_switch.vvp -I ./include clk_switch/clk_switch.v
iverilog -o math/math.vvp -I ./include generic/gen_pipe.v math/flt2int.v math/flt_add_sub.v math/flt_det.v math/flt_frac_test.v math/flt_fx_23p9.v math/flt_fx_mult.v math/flt_fx_uv.v math/flt_int.v math/flt_mult.v math/log2_table.v math/sv_log2.v math/flt_add_sub_comb.v math/flt_alu.v math/flt_div.v math/flt_fx1616_mult.v math/flt_fx_24p8.v math/flt_fx_rnd.v math/flt_fx.v math/flt_mult_comb.v math/flt_recip_fast.v
scons: done building targets.
user@desktop hdl :) $ math/math.vvp
SORRY: math/sv_log2.v:62: $log() is not available in Icarus verilog.
user@desktop hdl :) $ 

I just wish I knew more about verilog and how these simulation files should fit together :-(

ransom does not work on OSX

Hello,
I am a senior at CU Boulder. I was wondering if I could get in contact with you about a project I'm working on. This would make my project live up to my vision of it. Also, I'm sorry about your kickstarter:/

New Board Support and Drivers

Hi

I don't know if someone is still looking into this, but... I've found a board with very reasonable price and I was thinking of giving a try...

Would it be possible? Would a Cyclone IV EP4CGX75 handle this GPU? Where should I start looking to make the port? Where to look at to make a VGA output? There is a driver for this? The 2D default driver could handle it?

I've saw the other thread where inform that the 3D engine (85K LE) would surpass this FPGA (75K LE), but maybe there is a way to make it less (resize to half?). Anyway if it could handle 2D would be good enough for a start.

I was also looking at other board, it is a Xilinx Kintex 7 XC7K325T, double the price but there is a lot more of resources to play with. But I'm only a hobbyist, would it be too much?

Either way, thank you very much for sharing this project!

Please simplify contributor experiense

Its hard to understand how i could help you, and where i could start.
Since you developing in GPLv3 please make your work public: open issues and branches.
Right now i absolutely have no idea how to contribute, which language you use and more.
Thanks.

Contriburor licencing

Hey, thanks a lot for open sourcing this!

I noticed that you licence this code commercially, however you have no contributor agreement. Have you read the article on selling exceptions? You may need to ask your contributors to agree to let you sell.

I just wanted to point this out, so that no confusion arises.

Tim

Unsupported PLI call: $log

I've seen quite a few complaints about the math $log call in the open source tools:

verilator -Mdir obj_release/math --cc -sv -Wno-fatal -I./include obj_release/math/flt2int.v obj_release/math/flt_add_sub.v obj_release/math/flt_det.v obj_release/math/flt_frac_test.v obj_release/math/flt_fx_23p9.v obj_release/math/flt_fx_mult.v obj_release/math/flt_fx_uv.v obj_release/math/flt_int.v obj_release/math/flt_mult.v obj_release/math/log2_table.v obj_release/math/sv_log2.v obj_release/math/flt_add_sub_comb.v obj_release/math/flt_alu.v obj_release/math/flt_div.v obj_release/math/flt_fx1616_mult.v obj_release/math/flt_fx_24p8.v obj_release/math/flt_fx_rnd.v obj_release/math/flt_fx.v obj_release/math/flt_mult_comb.v obj_release/math/flt_recip_fast.v generic/gen_pipe.v
%Error: obj_release/math/sv_log2.v:62: Unsupported or unknown PLI call: $log
%Warning-STMTDLY: obj_release/math/sv_log2.v:63: Unsupported: Ignoring delay on this delayed statement.
%Warning-STMTDLY: Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.

Not sure if this is something that could be made more generic?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.