wontonst / astar-search-algorithm

verilog implementation of the a* search algorithm
0 stars 1 forks source link

data structure parent node #9

Closed wontonst closed 11 years ago

wontonst commented 11 years ago

@rcnewman I need a way to store another node in a node it should be two array 40x40x8 so we can store an x and y coordinate in each node. not sure how to implement 3D arrays, we could do reg 40 parentnodex00 8 ... reg 40 parentnodex39 8

then somehow retrieve the right node

case(nodenum) 0: parentnode00 .. 39: parentnode39

Confused.

fml factory project............

wontonst commented 11 years ago

storing in 2x40 packed arrays