Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshegarty committed Mar 14, 2018
1 parent 57a739d commit 539b349
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions examples/15x15.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
local R = require "rigel"
local RM = require "modules"
local ffi = require("ffi")
local types = require("types")
local S = require("systolic")
local harness = require "harness"
local C = require "examplescommon"
require "common".export()

W = 15
H = 15
T = 1


------------
inp = R.input( types.uint(8) )
a = R.apply("a", C.plus100(types.uint(8)), inp)
b = R.apply("b", C.plus100(types.uint(8)), a)
p200 = RM.lambda( "p200", inp, b )
------------
hsfn = RM.makeHandshake(p200)

harness{ outFile="15x15", fn=hsfn, inFile="15x15.raw", inSize={W,H}, outSize={W,H} }
Binary file added examples/15x15.raw
Binary file not shown.
Binary file added examples/gold/15x15.bmp
Binary file not shown.

0 comments on commit 539b349

Please sign in to comment.