]> rtime.felk.cvut.cz Git - fpga/pwm.git/log
fpga/pwm.git
12 years agoCorrected use of generic parameters. central_alu
Vladimir Burian [Tue, 24 May 2011 05:25:49 +0000 (07:25 +0200)]
Corrected use of generic parameters.

13 years agoIrc_base without full handshake.
Vladimir Burian [Mon, 2 May 2011 10:44:01 +0000 (12:44 +0200)]
Irc_base without full handshake.

It's much faster and only few slices bigger.

13 years agoIrc_base size reduced
Vladimir Burian [Sun, 1 May 2011 22:32:26 +0000 (00:32 +0200)]
Irc_base size reduced

Size reduced by forcing some signals to unknown state (-9 slices).

13 years agoPrototype of ALU, tested on IRC BASE module
Vladimir Burian [Sun, 1 May 2011 21:41:26 +0000 (23:41 +0200)]
Prototype of ALU, tested on IRC BASE module

Model of STB -> ACK handshake is fully implemented, so it takes more clock
cycles than previous design to execute (approx. 28). But it's smaller
by 35 slices when used in virtex2 motion design (previously 1526,
now 1491 slices).

13 years agomcc.vhd port definition corrected
Vladimir Burian [Sat, 16 Apr 2011 19:40:19 +0000 (21:40 +0200)]
mcc.vhd port definition corrected

13 years agoGeneral counter extended by clk_en input
Vladimir Burian [Sat, 16 Apr 2011 16:33:28 +0000 (18:33 +0200)]
General counter extended by clk_en input

13 years agoSinus LUT 1000 points per revolution
Vladimir Burian [Thu, 14 Apr 2011 22:34:16 +0000 (00:34 +0200)]
Sinus LUT 1000 points per revolution

Total table length is 2048 points. Word width is 10 bits.

13 years agoREADME briefly describing MCC
Vladimir Burian [Thu, 14 Apr 2011 22:27:10 +0000 (00:27 +0200)]
README briefly describing MCC

13 years agoIn MCC unit MCC_ACK(4) forced to '1'
Vladimir Burian [Thu, 14 Apr 2011 22:26:40 +0000 (00:26 +0200)]
In MCC unit MCC_ACK(4) forced to '1'

It ensures that MCC does not lock when executing nonexisting unit
in place 4, as this signal was uninitialized.

13 years agoIRF_ADR_W parameter of MCC entity removed
Vladimir Burian [Thu, 14 Apr 2011 21:41:48 +0000 (23:41 +0200)]
IRF_ADR_W parameter of MCC entity removed

It is defined as a constant in mcc.vhd.

13 years agoMCC execution control unit added
Vladimir Burian [Thu, 14 Apr 2011 21:27:41 +0000 (23:27 +0200)]
MCC execution control unit added

13 years agoMultiplier and vector scaling components added
Vladimir Burian [Thu, 14 Apr 2011 21:26:07 +0000 (23:26 +0200)]
Multiplier and vector scaling components added

These components are also integrated to the MCC entity so it's now possible
to close the chain (path from IRC to PWM) and changing action variable.

13 years agoModified MCC to use wave table with length of 2048 points.
Vladimir Burian [Mon, 28 Mar 2011 20:47:08 +0000 (22:47 +0200)]
Modified MCC to use wave table with length of 2048 points.

13 years agoCorrected irc_base entity.
Vladimir Burian [Mon, 28 Mar 2011 20:44:13 +0000 (22:44 +0200)]
Corrected irc_base entity.

13 years agoModified MATLAB waveform generator script.
Vladimir Burian [Mon, 28 Mar 2011 20:43:37 +0000 (22:43 +0200)]
Modified MATLAB waveform generator script.

Now data length and period length can differ.

13 years agoAdded irc_base.
Vladimir Burian [Sat, 26 Mar 2011 16:30:22 +0000 (17:30 +0100)]
Added irc_base.

This entity keeps angle value in appropriate interval according to
IRC_PER_REVOLUTION and modifies IRC_BASE value. When IRC value and
IRC_BASE differs by more than two revolutions, BAD_BASE signal is set high
during one CLK_I period.

13 years agoAdded irc_dump.
Vladimir Burian [Sat, 26 Mar 2011 14:41:02 +0000 (15:41 +0100)]
Added irc_dump.

13 years agoPWM_dump added to the MCC a its test bench.
Vladimir Burian [Thu, 24 Mar 2011 10:59:41 +0000 (11:59 +0100)]
PWM_dump added to the MCC a its test bench.

13 years agoAdded pwm_dump.
Vladimir Burian [Thu, 24 Mar 2011 10:57:30 +0000 (11:57 +0100)]
Added pwm_dump.

This entity controls loading of PWM value form shared memory to the
external PWM component.

13 years agoAdded sequencer.
Vladimir Burian [Thu, 24 Mar 2011 10:56:02 +0000 (11:56 +0100)]
Added sequencer.

This entity controls execution of a slave component for each phase.

13 years agoCorrected mcc_master.
Vladimir Burian [Thu, 24 Mar 2011 10:54:01 +0000 (11:54 +0100)]
Corrected mcc_master.

Controller of the chain (MCC_ACK, MCC_STB) is brought to the default state
when cycle is complete.

13 years agoAdded Motion-Control-Chain (mcc).
Vladimir Burian [Thu, 24 Mar 2011 07:09:38 +0000 (08:09 +0100)]
Added Motion-Control-Chain (mcc).

This entity encapsulates all components between IRC and PWM (without
these two). However wate_table and dual-port RAM must be connected
from outside.

13 years agoImproved mcc_master test bench.
Vladimir Burian [Thu, 24 Mar 2011 06:59:39 +0000 (07:59 +0100)]
Improved mcc_master test bench.

Re-execution is better tested.

13 years agoAdded MCC_Master.
Vladimir Burian [Sun, 20 Mar 2011 19:05:15 +0000 (20:05 +0100)]
Added MCC_Master.

This is entity which should control execution of Motion-Control-Chain,
e.g. IRC->Angle encoder, vector generator, current regulator, etc.

13 years agoAdded priority encoder.
Vladimir Burian [Sun, 20 Mar 2011 18:21:27 +0000 (19:21 +0100)]
Added priority encoder.

13 years agoModified testbenches to use entities (not components)
Vladimir Burian [Sun, 20 Mar 2011 18:26:09 +0000 (19:26 +0100)]
Modified testbenches to use entities (not components)

13 years agoChanged testbench Makefile.
Vladimir Burian [Sun, 20 Mar 2011 18:16:54 +0000 (19:16 +0100)]
Changed testbench Makefile.

It's now possible to work with "work" library and directly instantiate
entities (not components).

13 years agoAdded vector generator.
Vladimir Burian [Sun, 20 Mar 2011 18:25:31 +0000 (19:25 +0100)]
Added vector generator.

Reads angle value from shared RAM, then looks up 3-phase wave values from
wave_table.vhd and stores them back in shared RAM.

13 years agoAdded wave look-up-table module.
Vladimir Burian [Mon, 14 Mar 2011 14:07:36 +0000 (15:07 +0100)]
Added wave look-up-table module.

Verified with testbench.

13 years agoAdded counter and pwm modules.
Vladimir Burian [Mon, 14 Mar 2011 14:05:39 +0000 (15:05 +0100)]
Added counter and pwm modules.

Verified with testbench.

13 years agoInitial empty commit.
Vladimir Burian [Mon, 14 Mar 2011 13:57:53 +0000 (14:57 +0100)]
Initial empty commit.