]> rtime.felk.cvut.cz Git - fpga/zynq/canbench-sw.git/log
fpga/zynq/canbench-sw.git
4 years agoReplace dcsimpledrv_to_pmod12_pins with direct connection to PMOD pins microzed_apo_psr
Michal Sojka [Thu, 5 Sep 2019 08:56:36 +0000 (10:56 +0200)]
Replace dcsimpledrv_to_pmod12_pins with direct connection to PMOD pins

This change allows us to get rid of the following synthesis
error (tested in Vivado 2017.3 and 2019.1):

    [Designutils 20-1595] In entity
        top_dcsimpledrv_to_pmod12_pins_0_0, connectivity of net PWM1_A
        cannot be represented in VHDL. VHDL lacks syntax to connect
        the following inout terminals to a differently-named net:
            inout FPGA_IO_C[39]

    Resolution: Check whether terminals really need inout direction
    and substitute input or output as needed. It may also be possible
    to rename the net to match the terminal.

6 years agodcsimpledrv: refresh IP after trailing spaces removal.
Pavel Pisa [Wed, 26 Jul 2017 18:38:00 +0000 (20:38 +0200)]
dcsimpledrv: refresh IP after trailing spaces removal.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agodcsimpledrv: implemented PWM generator to drive motor into both directions.
Pavel Pisa [Wed, 26 Jul 2017 18:12:38 +0000 (20:12 +0200)]
dcsimpledrv: implemented PWM generator to drive motor into both directions.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agodcsimpledrv: mask write to unused bits of CR, STAT and PWM_PER registers.
Pavel Pisa [Wed, 26 Jul 2017 18:11:35 +0000 (20:11 +0200)]
dcsimpledrv: mask write to unused bits of CR, STAT and PWM_PER registers.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agomicrozed_apo: Include two instances of dcsimpledrv for PMOD1 and PMOD2 into design.
Pavel Pisa [Tue, 25 Jul 2017 19:09:40 +0000 (21:09 +0200)]
microzed_apo: Include two instances of dcsimpledrv for PMOD1 and PMOD2 into design.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agodcsimpledrv: Simple DC Motor driver - version with IRC and direct on/off output working.
Pavel Pisa [Tue, 25 Jul 2017 19:08:18 +0000 (21:08 +0200)]
dcsimpledrv: Simple DC Motor driver - version with IRC and direct on/off output working.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agodcsimpledrv: add component for mapping FPGA_IO/PMOD1 and PMOD2 signals to dcsimpledrv.
Pavel Pisa [Tue, 25 Jul 2017 15:47:21 +0000 (17:47 +0200)]
dcsimpledrv: add component for mapping FPGA_IO/PMOD1 and PMOD2 signals to dcsimpledrv.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
6 years agomicrozed_apo: Correct JX1_LVDS_21_N pin assignment on FPGA_IO header. microzed_apo
Pavel Pisa [Tue, 25 Jul 2017 13:14:07 +0000 (15:14 +0200)]
microzed_apo: Correct  JX1_LVDS_21_N pin assignment on FPGA_IO header.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Divide DE2 compatible FPGA_IO terminals to the A, B and C continuous...
Pavel Pisa [Tue, 28 Feb 2017 17:51:38 +0000 (18:51 +0100)]
microzed_apo: Divide DE2 compatible FPGA_IO terminals to the A, B and C continuous groups.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Fix copy paste error in the servo block.
Pavel Pisa [Tue, 14 Feb 2017 18:54:37 +0000 (19:54 +0100)]
microzed_apo: Fix copy paste error in the servo block.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Refreshed top level block diagram.
Pavel Pisa [Tue, 14 Feb 2017 18:27:11 +0000 (19:27 +0100)]
microzed_apo: Refreshed top level block diagram.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Servo outputs aequipped by PWM generators PWM.
Pavel Pisa [Tue, 14 Feb 2017 18:25:50 +0000 (19:25 +0100)]
microzed_apo: Servo outputs aequipped by PWM generators PWM.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Single channel PWM audio implemented as simple PWM generator.
Pavel Pisa [Tue, 14 Feb 2017 17:00:58 +0000 (18:00 +0100)]
microzed_apo: Single channel PWM audio implemented as simple PWM generator.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: 16 bit bus LCD: Add register bit for program initiated reset.
Pavel Pisa [Tue, 14 Feb 2017 16:29:53 +0000 (17:29 +0100)]
microzed_apo: 16 bit bus LCD: Add register bit for program initiated reset.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoMerge remote-tracking branch 'origin/microzed_apo' into microzed_apo
Pavel Pisa [Tue, 14 Feb 2017 15:55:47 +0000 (16:55 +0100)]
Merge remote-tracking branch 'origin/microzed_apo' into microzed_apo

7 years agomicrozed_apo: 16 bit bus LCD: Implemented basic write logic.
Pavel Pisa [Tue, 14 Feb 2017 13:57:28 +0000 (14:57 +0100)]
microzed_apo: 16 bit bus LCD: Implemented basic write logic.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Swap knob encoders A and B channels to follow natural turn direction...
Pavel Pisa [Thu, 9 Feb 2017 22:23:51 +0000 (23:23 +0100)]
microzed_apo: Swap knob encoders A and B channels to follow natural turn direction for increase.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Update top level block design to inlcude autio and display and remove...
Pavel Pisa [Thu, 9 Feb 2017 10:16:46 +0000 (11:16 +0100)]
microzed_apo: Update top level block design to inlcude autio and display and remove sja1000.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Include skeleton for 16 bit bus connected display with local controller.
Pavel Pisa [Thu, 9 Feb 2017 10:15:44 +0000 (11:15 +0100)]
microzed_apo: Include skeleton for 16 bit bus connected display with local controller.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Include skeleton for single channel PWM audio output.
Pavel Pisa [Thu, 9 Feb 2017 10:09:42 +0000 (11:09 +0100)]
microzed_apo: Include skeleton for single channel PWM audio output.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Include RGB LEDs PWM driver.
Pavel Pisa [Wed, 8 Feb 2017 19:00:18 +0000 (20:00 +0100)]
microzed_apo: Include RGB LEDs PWM driver.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Include counters to present 8-bit knobs positions.
Pavel Pisa [Wed, 8 Feb 2017 13:31:21 +0000 (14:31 +0100)]
microzed_apo: Include counters to present 8-bit knobs positions.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Refresh of toplevel design.
Pavel Pisa [Tue, 7 Feb 2017 17:50:05 +0000 (18:50 +0100)]
microzed_apo: Refresh of toplevel design.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Testbed for SPI FSM for LEDs and encoder communication.
Pavel Pisa [Tue, 7 Feb 2017 17:49:33 +0000 (18:49 +0100)]
microzed_apo: Testbed for SPI FSM for LEDs and encoder communication.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: Add SPI FSM for LEDs and encoder communication.
Pavel Pisa [Tue, 7 Feb 2017 19:30:29 +0000 (20:30 +0100)]
microzed_apo: Add SPI FSM for LEDs and encoder communication.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: include SPI LEDs and servos peripherals in the top level design.
Pavel Pisa [Tue, 24 Jan 2017 22:25:55 +0000 (23:25 +0100)]
microzed_apo: include SPI LEDs and servos peripherals in the top level design.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: IP skeleton of SPI connected LEDs and encoders.
Pavel Pisa [Tue, 24 Jan 2017 22:30:28 +0000 (23:30 +0100)]
microzed_apo: IP skeleton of SPI connected LEDs and encoders.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: IP skeleton of servo with alternative direct LEDs.
Pavel Pisa [Tue, 24 Jan 2017 22:21:43 +0000 (23:21 +0100)]
microzed_apo: IP skeleton of servo with alternative direct LEDs.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agomicrozed_apo: use board specific constrain file for design build.
Pavel Pisa [Tue, 24 Jan 2017 22:10:26 +0000 (23:10 +0100)]
microzed_apo: use board specific constrain file for design build.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoAdded constrain file for microzed_apo.
Pavel Pisa [Tue, 24 Jan 2017 22:09:18 +0000 (23:09 +0100)]
Added constrain file for microzed_apo.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoAXI PWM Coprocessor: do not set pwm_state_prev in unrelated process. axi_coprocessor
Pavel Pisa [Fri, 20 May 2016 18:06:20 +0000 (20:06 +0200)]
AXI PWM Coprocessor: do not set pwm_state_prev in unrelated process.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoAXI PWM Coprocessor: minor correction and formatting.
Pavel Pisa [Fri, 20 May 2016 17:10:33 +0000 (19:10 +0200)]
AXI PWM Coprocessor: minor correction and formatting.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoAXI PWM Coprocessor: try harder to remove remnants of INIT_AXI_TXN signal.
Pavel Pisa [Fri, 20 May 2016 15:39:09 +0000 (17:39 +0200)]
AXI PWM Coprocessor: try harder to remove remnants of INIT_AXI_TXN signal.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoAXI PWM Coprocessor: remove AXI master part INIT_AXI_TXN signal from interface.
Pavel Pisa [Fri, 20 May 2016 14:58:20 +0000 (16:58 +0200)]
AXI PWM Coprocessor: remove AXI master part INIT_AXI_TXN signal from interface.

INIT_AXI_TXN is generated internally based on change of pwm_state_i signal.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoUpdate toplevel design.
Pavel Pisa [Fri, 20 May 2016 14:44:06 +0000 (16:44 +0200)]
Update toplevel design.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoAXI PWM Coprocessor: PWM generation logic roughly implemented.
Pavel Pisa [Fri, 20 May 2016 14:43:49 +0000 (16:43 +0200)]
AXI PWM Coprocessor: PWM generation logic roughly implemented.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoInitial design stub for AXI PWM Coprocessor.
Pavel Pisa [Wed, 18 May 2016 12:01:44 +0000 (14:01 +0200)]
Initial design stub for AXI PWM Coprocessor.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoscripts: include script for applying new FPGA design at runtime. master
Pavel Pisa [Mon, 16 Jan 2017 16:33:56 +0000 (17:33 +0100)]
scripts: include script for applying new FPGA design at runtime.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agoscripts: include script which setups can controllers.
Pavel Pisa [Mon, 16 Jan 2017 16:32:51 +0000 (17:32 +0100)]
scripts: include script which setups can controllers.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
7 years agopetalinux: added scripts
Martin Jerabek [Fri, 27 May 2016 06:43:41 +0000 (08:43 +0200)]
petalinux: added scripts

7 years agosja1000: added module can_top for backward compatibility
Martin Jerabek [Tue, 24 May 2016 11:13:25 +0000 (13:13 +0200)]
sja1000: added module can_top for backward compatibility

7 years agoxilinx_can: timestamp calculation redesigned
Martin Jerabek [Tue, 24 May 2016 11:12:35 +0000 (13:12 +0200)]
xilinx_can: timestamp calculation redesigned

7 years agobootscript: paths and IPs changed to DCE servers
Martin Jerabek [Tue, 24 May 2016 11:11:43 +0000 (13:11 +0200)]
bootscript: paths and IPs changed to DCE servers

7 years agocan_crossbar: fixed STBY bit position in register
Martin Jerabek [Tue, 24 May 2016 11:08:06 +0000 (13:08 +0200)]
can_crossbar: fixed STBY bit position in register

7 years agopetalinux: added app bc
Martin Jerabek [Tue, 24 May 2016 11:07:17 +0000 (13:07 +0200)]
petalinux: added app bc

7 years agoxilinx_can: fixed HW timestamping (fuzzy overflow checking)
Martin Jerabek [Wed, 18 May 2016 23:00:41 +0000 (01:00 +0200)]
xilinx_can: fixed HW timestamping (fuzzy overflow checking)

7 years agouboot images migrated to FIT, bootscript loads only 1 image (faster)
Martin Jerabek [Wed, 18 May 2016 13:38:43 +0000 (15:38 +0200)]
uboot images migrated to FIT, bootscript loads only 1 image (faster)

7 years agoRevert "petalinux: kernel changed to xlnx_4.0.8-rt6"
Martin Jerabek [Tue, 17 May 2016 20:57:48 +0000 (22:57 +0200)]
Revert "petalinux: kernel changed to xlnx_4.0.8-rt6"

This reverts commit 672b879c97441bf9d9ddb1270c2db4a35475a0ad.
Worse performance (both 100Hz and 1000Hz tick), unpredictable.

7 years agopetalinux: kernel changed to xlnx_4.0.8-rt6
Martin Jerabek [Tue, 17 May 2016 20:56:45 +0000 (22:56 +0200)]
petalinux: kernel changed to xlnx_4.0.8-rt6

7 years agoxilinx_can: removed most of debug messages
Martin Jerabek [Tue, 17 May 2016 21:18:31 +0000 (23:18 +0200)]
xilinx_can: removed most of debug messages

7 years agoxilinx_can: debugging, fixed timing problem, lowered can clk to 20MHz
Martin Jerabek [Tue, 17 May 2016 21:48:25 +0000 (23:48 +0200)]
xilinx_can: debugging, fixed timing problem, lowered can clk to 20MHz

The Xilinx Zynq TRM description of CAN RX timestamp resolution
is misleading - it is clocked by undivided peripheral clock, not
by divided bit time clock.

7 years agobootscript: changed IPs, updated paths
Martin Jerabek [Tue, 17 May 2016 21:50:38 +0000 (23:50 +0200)]
bootscript: changed IPs, updated paths

7 years agou-boot: changed config to enable getting serverip from DHCP
Martin Jerabek [Tue, 17 May 2016 21:50:13 +0000 (23:50 +0200)]
u-boot: changed config to enable getting serverip from DHCP

7 years agosystem: removed reference to post-write_bitstream dist script
Martin Jerabek [Mon, 16 May 2016 23:05:22 +0000 (01:05 +0200)]
system: removed reference to post-write_bitstream dist script

7 years agosystem: updated build script for new Vivado version
Martin Jerabek [Mon, 16 May 2016 17:41:44 +0000 (19:41 +0200)]
system: updated build script for new Vivado version

7 years agoremoved outdated system.hdf
Martin Jerabek [Mon, 16 May 2016 17:35:09 +0000 (19:35 +0200)]
removed outdated system.hdf

7 years agoupdated README, .gitignore
Martin Jerabek [Mon, 16 May 2016 17:26:26 +0000 (19:26 +0200)]
updated README, .gitignore

7 years agosystem: added constraints file
Martin Jerabek [Mon, 16 May 2016 17:25:18 +0000 (19:25 +0200)]
system: added constraints file

7 years agosystem: can_crossbar fixed and added to device tree, updated vivado script
Martin Jerabek [Mon, 16 May 2016 17:25:07 +0000 (19:25 +0200)]
system: can_crossbar fixed and added to device tree, updated vivado script

7 years agoxilinx_can: hwtstamp fixes, it works (almost)
Martin Jerabek [Fri, 13 May 2016 09:13:50 +0000 (11:13 +0200)]
xilinx_can: hwtstamp fixes, it works (almost)

TODO:
- overflow handling is sometimes off by 1 period (both positive or negative)
- update reference times when the sync point was long ago (prevent rollover counter overflow)

7 years agocan_crossbar: fixes (but still not working)
Martin Jerabek [Thu, 12 May 2016 23:54:09 +0000 (01:54 +0200)]
can_crossbar: fixes (but still not working)

7 years agosja1000: IP fixes, corrected device-tree entry, it works now
Martin Jerabek [Thu, 12 May 2016 23:53:44 +0000 (01:53 +0200)]
sja1000: IP fixes, corrected device-tree entry, it works now

7 years agosystem: added GPIO IP
Martin Jerabek [Thu, 12 May 2016 11:52:57 +0000 (13:52 +0200)]
system: added GPIO IP

7 years agosystem: added CAN crossbar IP
Martin Jerabek [Thu, 12 May 2016 11:52:34 +0000 (13:52 +0200)]
system: added CAN crossbar IP

7 years agou-boot: added hack to force-enable legacy image format
Martin Jerabek [Thu, 12 May 2016 11:50:59 +0000 (13:50 +0200)]
u-boot: added hack to force-enable legacy image format

7 years agosystem: updated scripts
Martin Jerabek [Thu, 12 May 2016 11:50:16 +0000 (13:50 +0200)]
system: updated scripts

7 years agosja1000: synchronous with AXI, duplex register access (WIP)
Martin Jerabek [Thu, 12 May 2016 11:49:54 +0000 (13:49 +0200)]
sja1000: synchronous with AXI, duplex register access (WIP)

7 years agoremoved generated file
Martin Jerabek [Thu, 12 May 2016 11:46:31 +0000 (13:46 +0200)]
removed generated file

7 years agosja1000 core, linux drivers
Martin Jerabek [Wed, 11 May 2016 12:08:14 +0000 (14:08 +0200)]
sja1000 core, linux drivers

7 years agobitstream file renamed
Martin Jerabek [Wed, 11 May 2016 12:06:43 +0000 (14:06 +0200)]
bitstream file renamed

7 years agoadded sja1000 IP
Martin Jerabek [Sun, 8 May 2016 23:38:49 +0000 (01:38 +0200)]
added sja1000 IP

7 years agopetalinux: mc & talloc fix
Martin Jerabek [Tue, 3 May 2016 22:20:30 +0000 (00:20 +0200)]
petalinux: mc & talloc fix

7 years agopetalinux: added Midnight Commander
Martin Jerabek [Tue, 3 May 2016 21:11:04 +0000 (23:11 +0200)]
petalinux: added Midnight Commander

7 years agopetalinux: fixed booting stuff
Martin Jerabek [Tue, 3 May 2016 20:58:27 +0000 (22:58 +0200)]
petalinux: fixed booting stuff

8 years agosystem: build fix, removed generated HDL wrappers
Martin Jerabek [Fri, 1 Apr 2016 08:44:59 +0000 (10:44 +0200)]
system: build fix, removed generated HDL wrappers

8 years agoMakefile: build bootscript
Martin Jerabek [Wed, 30 Mar 2016 17:53:20 +0000 (19:53 +0200)]
Makefile: build bootscript

8 years agoMakefile fixes
Martin Jerabek [Wed, 30 Mar 2016 17:52:41 +0000 (19:52 +0200)]
Makefile fixes

8 years agoupdated bootscript, added "How to build" to README.txt
Martin Jerabek [Tue, 29 Mar 2016 19:22:07 +0000 (21:22 +0200)]
updated bootscript, added "How to build" to README.txt

8 years agopetalinux: added canutils, dropbear (SSH server), libs
Martin Jerabek [Tue, 29 Mar 2016 18:36:18 +0000 (20:36 +0200)]
petalinux: added canutils, dropbear (SSH server), libs

8 years agopetalinux: Boot from network (TFTP), NFS root; support for custom u-boot bootscript
Martin Jerabek [Tue, 29 Mar 2016 18:35:06 +0000 (20:35 +0200)]
petalinux: Boot from network (TFTP), NFS root; support for custom u-boot bootscript

8 years agoAdded latester (sources in submodule) and dependencies (libpopt, libtalloc)
Martin Jerabek [Fri, 25 Mar 2016 20:22:07 +0000 (21:22 +0100)]
Added latester (sources in submodule) and dependencies (libpopt, libtalloc)

8 years agoAdded patched xilinx_can module, canhwtstamp testing app
Martin Jerabek [Fri, 25 Mar 2016 13:38:00 +0000 (14:38 +0100)]
Added patched xilinx_can module, canhwtstamp testing app

8 years agoadded system and petalinux configuration, scripts, makefiles
Martin Jerabek [Fri, 25 Mar 2016 13:37:12 +0000 (14:37 +0100)]
added system and petalinux configuration, scripts, makefiles

TODO: remove HDL wrappers?

8 years agoInitial commit - CAN benchmark FPGA design and software for MicroZed board.
Pavel Pisa [Fri, 4 Mar 2016 10:03:37 +0000 (11:03 +0100)]
Initial commit - CAN benchmark FPGA design and software for MicroZed board.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>