cfelton / rhea

A collection of MyHDL cores and tools for complex digital circuit design
MIT License
84 stars 33 forks source link

vga: use the timing parameter class vs. function #35

Open cfelton opened 7 years ago

cfelton commented 7 years ago

Setting and verifying the VGA timing parameters should be done with the VGATimingParameter class. This will be a change to how the vga core is used, first the timing object will be created and passed to the core.

timing = VGATimingParameters(resolution=(640, 480))
vga_inst = vga_sync(glbl, vga, video_mem, timing)