1
0
mirror of https://github.com/Klagarge/Cursor.git synced 2025-07-06 08:41:11 +00:00

work with 2 small bugs

sometimes won't go back to pos2, and problem if many push in same button
This commit is contained in:
2022-01-20 22:02:29 +01:00
parent e8427259ac
commit 042f09e0f1
97 changed files with 73520 additions and 9649 deletions

View File

@ -10,9 +10,14 @@ unitName "std_logic_1164"
library "ieee"
unitName "numeric_std"
)
(DmPackageRef
library "gates"
unitName "gates"
)
]
libraryRefs [
"ieee"
"gates"
]
)
version "27.1"
@ -20,7 +25,7 @@ appVersion "2019.2 (Build 5)"
model (Symbol
commonDM (CommonDM
ldm (LogicalDM
suid 2015,0
suid 2031,0
usingSuid 1
emptyRow *1 (LEmptyRow
)
@ -63,68 +68,32 @@ tm "EolColHdrMgr"
port (LogicalPort
m 1
decl (Decl
n "amplitude"
t "unsigned"
b "(counterBitNb-1 DOWNTO 0)"
o 2
suid 2011,0
)
)
uid 280,0
)
*15 (LogPort
port (LogicalPort
m 1
decl (Decl
n "clock"
t "std_ulogic"
o 3
suid 2012,0
suid 2030,0
)
)
uid 282,0
uid 490,0
)
*16 (LogPort
port (LogicalPort
m 1
decl (Decl
n "en"
t "std_ulogic"
o 4
suid 2013,0
)
)
uid 284,0
)
*17 (LogPort
port (LogicalPort
decl (Decl
n "PWM"
t "std_ulogic"
o 1
suid 2014,0
)
)
uid 286,0
)
*18 (LogPort
*15 (LogPort
port (LogicalPort
m 1
decl (Decl
n "reset"
t "std_ulogic"
o 5
suid 2015,0
suid 2031,0
)
)
uid 288,0
uid 492,0
)
]
)
pdm (PhysicalDM
uid 193,0
optionalChildren [
*19 (Sheet
*16 (Sheet
sheetRow (SheetRow
headerVa (MVa
cellColor "49152,49152,49152"
@ -141,61 +110,43 @@ cellColor "39936,56832,65280"
fontColor "0,0,0"
font "Tahoma,10,0"
)
emptyMRCItem *20 (MRCItem
emptyMRCItem *17 (MRCItem
litem &1
pos 3
dimension 20
)
uid 128,0
optionalChildren [
*21 (MRCItem
*18 (MRCItem
litem &2
pos 0
dimension 20
uid 131,0
)
*22 (MRCItem
*19 (MRCItem
litem &3
pos 1
dimension 23
uid 133,0
)
*23 (MRCItem
*20 (MRCItem
litem &4
pos 2
hidden 1
dimension 20
uid 135,0
)
*24 (MRCItem
*21 (MRCItem
litem &14
pos 0
dimension 20
uid 281,0
uid 491,0
)
*25 (MRCItem
*22 (MRCItem
litem &15
pos 1
dimension 20
uid 283,0
)
*26 (MRCItem
litem &16
pos 2
dimension 20
uid 285,0
)
*27 (MRCItem
litem &17
pos 3
dimension 20
uid 287,0
)
*28 (MRCItem
litem &18
pos 4
dimension 20
uid 289,0
uid 493,0
)
]
)
@ -208,49 +159,49 @@ textAngle 90
)
uid 129,0
optionalChildren [
*29 (MRCItem
*23 (MRCItem
litem &5
pos 0
dimension 20
uid 137,0
)
*30 (MRCItem
*24 (MRCItem
litem &7
pos 1
dimension 50
uid 141,0
)
*31 (MRCItem
*25 (MRCItem
litem &8
pos 2
dimension 100
uid 143,0
)
*32 (MRCItem
*26 (MRCItem
litem &9
pos 3
dimension 50
uid 145,0
)
*33 (MRCItem
*27 (MRCItem
litem &10
pos 4
dimension 100
uid 147,0
)
*34 (MRCItem
*28 (MRCItem
litem &11
pos 5
dimension 100
uid 149,0
)
*35 (MRCItem
*29 (MRCItem
litem &12
pos 6
dimension 50
uid 151,0
)
*36 (MRCItem
*30 (MRCItem
litem &13
pos 7
dimension 80
@ -271,41 +222,41 @@ uid 186,0
)
genericsCommonDM (CommonDM
ldm (LogicalDM
emptyRow *37 (LEmptyRow
emptyRow *31 (LEmptyRow
)
uid 195,0
optionalChildren [
*38 (RefLabelRowHdr
*32 (RefLabelRowHdr
)
*39 (TitleRowHdr
*33 (TitleRowHdr
)
*40 (FilterRowHdr
*34 (FilterRowHdr
)
*41 (RefLabelColHdr
*35 (RefLabelColHdr
tm "RefLabelColHdrMgr"
)
*42 (RowExpandColHdr
*36 (RowExpandColHdr
tm "RowExpandColHdrMgr"
)
*43 (GroupColHdr
*37 (GroupColHdr
tm "GroupColHdrMgr"
)
*44 (NameColHdr
*38 (NameColHdr
tm "GenericNameColHdrMgr"
)
*45 (TypeColHdr
*39 (TypeColHdr
tm "GenericTypeColHdrMgr"
)
*46 (InitColHdr
*40 (InitColHdr
tm "GenericValueColHdrMgr"
)
*47 (PragmaColHdr
*41 (PragmaColHdr
tm "GenericPragmaColHdrMgr"
)
*48 (EolColHdr
*42 (EolColHdr
tm "GenericEolColHdrMgr"
)
*49 (LogGeneric
*43 (LogGeneric
generic (GiElement
name "counterBitNb"
type "positive"
@ -318,7 +269,7 @@ uid 184,0
pdm (PhysicalDM
uid 196,0
optionalChildren [
*50 (Sheet
*44 (Sheet
sheetRow (SheetRow
headerVa (MVa
cellColor "49152,49152,49152"
@ -335,34 +286,34 @@ cellColor "39936,56832,65280"
fontColor "0,0,0"
font "Tahoma,10,0"
)
emptyMRCItem *51 (MRCItem
litem &37
emptyMRCItem *45 (MRCItem
litem &31
pos 3
dimension 20
)
uid 160,0
optionalChildren [
*52 (MRCItem
litem &38
*46 (MRCItem
litem &32
pos 0
dimension 20
uid 163,0
)
*53 (MRCItem
litem &39
*47 (MRCItem
litem &33
pos 1
dimension 23
uid 165,0
)
*54 (MRCItem
litem &40
*48 (MRCItem
litem &34
pos 2
hidden 1
dimension 20
uid 167,0
)
*55 (MRCItem
litem &49
*49 (MRCItem
litem &43
pos 0
dimension 20
uid 185,0
@ -378,44 +329,44 @@ textAngle 90
)
uid 161,0
optionalChildren [
*56 (MRCItem
litem &41
*50 (MRCItem
litem &35
pos 0
dimension 20
uid 169,0
)
*57 (MRCItem
litem &43
*51 (MRCItem
litem &37
pos 1
dimension 50
uid 173,0
)
*58 (MRCItem
litem &44
*52 (MRCItem
litem &38
pos 2
dimension 100
uid 175,0
)
*59 (MRCItem
litem &45
*53 (MRCItem
litem &39
pos 3
dimension 100
uid 177,0
)
*60 (MRCItem
litem &46
*54 (MRCItem
litem &40
pos 4
dimension 50
uid 179,0
)
*61 (MRCItem
litem &47
*55 (MRCItem
litem &41
pos 5
dimension 50
uid 181,0
)
*62 (MRCItem
litem &48
*56 (MRCItem
litem &42
pos 6
dimension 80
uid 183,0
@ -442,23 +393,23 @@ value " "
)
(vvPair
variable "HDLDir"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hdl"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hdl"
)
(vvPair
variable "HDSDir"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hds"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hds"
)
(vvPair
variable "SideDataDesignDir"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hds\\pulse@width@modulator_tester\\interface.info"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hds\\pulse@width@modulator_tester\\interface.info"
)
(vvPair
variable "SideDataUserDir"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hds\\pulse@width@modulator_tester\\interface.user"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hds\\pulse@width@modulator_tester\\interface.user"
)
(vvPair
variable "SourceDir"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hds"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hds"
)
(vvPair
variable "appl"
@ -478,27 +429,27 @@ value "%(unit)_%(view)_config"
)
(vvPair
variable "d"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hds\\pulse@width@modulator_tester"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hds\\pulse@width@modulator_tester"
)
(vvPair
variable "d_logical"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hds\\pulseWidthModulator_tester"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hds\\pulseWidthModulator_tester"
)
(vvPair
variable "date"
value "11.11.2019"
value "14.01.2022"
)
(vvPair
variable "day"
value "Mon"
value "ven."
)
(vvPair
variable "day_long"
value "Monday"
value "vendredi"
)
(vvPair
variable "dd"
value "11"
value "14"
)
(vvPair
variable "entity_name"
@ -522,11 +473,11 @@ value "interface"
)
(vvPair
variable "graphical_source_author"
value "silvan.zahno"
value "Simon"
)
(vvPair
variable "graphical_source_date"
value "11.11.2019"
value "14.01.2022"
)
(vvPair
variable "graphical_source_group"
@ -534,11 +485,11 @@ value "UNKNOWN"
)
(vvPair
variable "graphical_source_host"
value "WE6996"
value "PC-SDM"
)
(vvPair
variable "graphical_source_time"
value "08:13:22"
value "09:04:38"
)
(vvPair
variable "group"
@ -546,7 +497,7 @@ value "UNKNOWN"
)
(vvPair
variable "host"
value "WE6996"
value "PC-SDM"
)
(vvPair
variable "language"
@ -566,7 +517,7 @@ value "$SCRATCH_DIR/Cursor_test/work"
)
(vvPair
variable "mm"
value "11"
value "01"
)
(vvPair
variable "module_name"
@ -574,19 +525,19 @@ value "pulseWidthModulator_tester"
)
(vvPair
variable "month"
value "Nov"
value "janv."
)
(vvPair
variable "month_long"
value "November"
value "janvier"
)
(vvPair
variable "p"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hds\\pulse@width@modulator_tester\\interface"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hds\\pulse@width@modulator_tester\\interface"
)
(vvPair
variable "p_logical"
value "C:\\work\\git\\Education\\eln\\projects\\solution\\eln_cursor\\Prefs\\..\\Cursor_test\\hds\\pulseWidthModulator_tester\\interface"
value "C:\\Users\\Simon\\Desktop\\ELN\\Projet\\Cursor\\Prefs\\..\\Cursor_test\\hds\\pulseWidthModulator_tester\\interface"
)
(vvPair
variable "package_name"
@ -614,7 +565,7 @@ value "interface"
)
(vvPair
variable "time"
value "08:13:22"
value "09:04:38"
)
(vvPair
variable "unit"
@ -622,7 +573,7 @@ value "pulseWidthModulator_tester"
)
(vvPair
variable "user"
value "silvan.zahno"
value "Simon"
)
(vvPair
variable "version"
@ -634,73 +585,25 @@ value "interface"
)
(vvPair
variable "year"
value "2019"
value "2022"
)
(vvPair
variable "yy"
value "19"
value "22"
)
]
)
LanguageMgr "VhdlLangMgr"
uid 76,0
optionalChildren [
*63 (SymbolBody
*57 (SymbolBody
uid 8,0
optionalChildren [
*64 (CptPort
uid 255,0
*58 (CptPort
uid 480,0
ps "OnEdgeStrategy"
shape (Triangle
uid 256,0
va (VaSet
vasetType 1
fg "0,65535,0"
)
xt "22625,5250,23375,6000"
)
tg (CPTG
uid 257,0
ps "CptPortTextPlaceStrategy"
stg "RightVerticalLayoutStrategy"
f (Text
uid 258,0
ro 270
va (VaSet
font "Verdana,12,0"
)
xt "22300,7000,23700,14000"
st "amplitude"
ju 2
blo "23500,7000"
tm "CptPortNameMgr"
)
)
dt (MLText
uid 259,0
va (VaSet
font "Courier New,8,0"
)
xt "44000,2800,73500,3600"
st "amplitude : OUT unsigned (counterBitNb-1 DOWNTO 0) ;
"
)
thePort (LogicalPort
m 1
decl (Decl
n "amplitude"
t "unsigned"
b "(counterBitNb-1 DOWNTO 0)"
o 2
suid 2011,0
)
)
)
*65 (CptPort
uid 260,0
ps "OnEdgeStrategy"
shape (Triangle
uid 261,0
uid 481,0
va (VaSet
vasetType 1
fg "0,65535,0"
@ -708,11 +611,11 @@ fg "0,65535,0"
xt "28625,5250,29375,6000"
)
tg (CPTG
uid 262,0
uid 482,0
ps "CptPortTextPlaceStrategy"
stg "RightVerticalLayoutStrategy"
f (Text
uid 263,0
uid 483,0
ro 270
va (VaSet
font "Verdana,12,0"
@ -725,12 +628,12 @@ tm "CptPortNameMgr"
)
)
dt (MLText
uid 264,0
uid 484,0
va (VaSet
font "Courier New,8,0"
)
xt "44000,3600,61500,4400"
st "clock : OUT std_ulogic ;
xt "44000,2000,59500,2800"
st "clock : OUT std_ulogic ;
"
)
thePort (LogicalPort
@ -739,109 +642,15 @@ decl (Decl
n "clock"
t "std_ulogic"
o 3
suid 2012,0
suid 2030,0
)
)
)
*66 (CptPort
uid 265,0
*59 (CptPort
uid 485,0
ps "OnEdgeStrategy"
shape (Triangle
uid 266,0
va (VaSet
vasetType 1
fg "0,65535,0"
)
xt "24625,5250,25375,6000"
)
tg (CPTG
uid 267,0
ps "CptPortTextPlaceStrategy"
stg "RightVerticalLayoutStrategy"
f (Text
uid 268,0
ro 270
va (VaSet
font "Verdana,12,0"
)
xt "24300,7000,25700,9400"
st "en"
ju 2
blo "25500,7000"
tm "CptPortNameMgr"
)
)
dt (MLText
uid 269,0
va (VaSet
font "Courier New,8,0"
)
xt "44000,4400,61500,5200"
st "en : OUT std_ulogic ;
"
)
thePort (LogicalPort
m 1
decl (Decl
n "en"
t "std_ulogic"
o 4
suid 2013,0
)
)
)
*67 (CptPort
uid 270,0
ps "OnEdgeStrategy"
shape (Triangle
uid 271,0
ro 180
va (VaSet
vasetType 1
fg "0,65535,0"
)
xt "58625,5250,59375,6000"
)
tg (CPTG
uid 272,0
ps "CptPortTextPlaceStrategy"
stg "RightVerticalLayoutStrategy"
f (Text
uid 273,0
ro 270
va (VaSet
font "Verdana,12,0"
)
xt "58300,7000,59700,10900"
st "PWM"
ju 2
blo "59500,7000"
tm "CptPortNameMgr"
)
)
dt (MLText
uid 274,0
va (VaSet
font "Courier New,8,0"
)
xt "44000,2000,61500,2800"
st "PWM : IN std_ulogic ;
"
)
thePort (LogicalPort
decl (Decl
n "PWM"
t "std_ulogic"
o 1
suid 2014,0
)
)
)
*68 (CptPort
uid 275,0
ps "OnEdgeStrategy"
shape (Triangle
uid 276,0
uid 486,0
va (VaSet
vasetType 1
fg "0,65535,0"
@ -849,11 +658,11 @@ fg "0,65535,0"
xt "30625,5250,31375,6000"
)
tg (CPTG
uid 277,0
uid 487,0
ps "CptPortTextPlaceStrategy"
stg "RightVerticalLayoutStrategy"
f (Text
uid 278,0
uid 488,0
ro 270
va (VaSet
font "Verdana,12,0"
@ -866,12 +675,12 @@ tm "CptPortNameMgr"
)
)
dt (MLText
uid 279,0
uid 489,0
va (VaSet
font "Courier New,8,0"
)
xt "44000,5200,60500,6000"
st "reset : OUT std_ulogic
xt "44000,2800,58500,3600"
st "reset : OUT std_ulogic
"
)
thePort (LogicalPort
@ -880,7 +689,7 @@ decl (Decl
n "reset"
t "std_ulogic"
o 5
suid 2015,0
suid 2031,0
)
)
)
@ -918,7 +727,7 @@ st "pulseWidthModulator_tester"
blo "32900,11000"
)
)
gi *69 (GenericInterface
gi *60 (GenericInterface
uid 13,0
ps "CenterOffsetStrategy"
matrix (Matrix
@ -954,10 +763,10 @@ sTC 0
sF 0
)
)
*70 (Grouping
*61 (Grouping
uid 16,0
optionalChildren [
*71 (CommentText
*62 (CommentText
uid 18,0
shape (Rectangle
uid 19,0
@ -987,7 +796,7 @@ visibleWidth 17000
position 1
ignorePrefs 1
)
*72 (CommentText
*63 (CommentText
uid 21,0
shape (Rectangle
uid 22,0
@ -1017,7 +826,7 @@ visibleWidth 4000
position 1
ignorePrefs 1
)
*73 (CommentText
*64 (CommentText
uid 24,0
shape (Rectangle
uid 25,0
@ -1047,7 +856,7 @@ visibleWidth 17000
position 1
ignorePrefs 1
)
*74 (CommentText
*65 (CommentText
uid 27,0
shape (Rectangle
uid 28,0
@ -1077,7 +886,7 @@ visibleWidth 4000
position 1
ignorePrefs 1
)
*75 (CommentText
*66 (CommentText
uid 30,0
shape (Rectangle
uid 31,0
@ -1106,7 +915,7 @@ visibleWidth 20000
)
ignorePrefs 1
)
*76 (CommentText
*67 (CommentText
uid 33,0
shape (Rectangle
uid 34,0
@ -1136,7 +945,7 @@ visibleWidth 16000
position 1
ignorePrefs 1
)
*77 (CommentText
*68 (CommentText
uid 36,0
shape (Rectangle
uid 37,0
@ -1166,7 +975,7 @@ visibleWidth 21000
position 1
ignorePrefs 1
)
*78 (CommentText
*69 (CommentText
uid 39,0
shape (Rectangle
uid 40,0
@ -1196,7 +1005,7 @@ visibleWidth 4000
position 1
ignorePrefs 1
)
*79 (CommentText
*70 (CommentText
uid 42,0
shape (Rectangle
uid 43,0
@ -1226,7 +1035,7 @@ visibleWidth 4000
position 1
ignorePrefs 1
)
*80 (CommentText
*71 (CommentText
uid 45,0
shape (Rectangle
uid 46,0
@ -1281,11 +1090,11 @@ xShown 1
yShown 1
color "26368,26368,26368"
)
packageList *81 (PackageList
packageList *72 (PackageList
uid 48,0
stg "VerticalLayoutStrategy"
textVec [
*82 (Text
*73 (Text
uid 49,0
va (VaSet
font "arial,8,1"
@ -1294,14 +1103,16 @@ xt "0,0,5400,1000"
st "Package List"
blo "0,800"
)
*83 (MLText
*74 (MLText
uid 50,0
va (VaSet
)
xt "0,1000,17500,4600"
xt "0,1000,17500,7000"
st "LIBRARY ieee;
USE ieee.std_logic_1164.all;
USE ieee.numeric_std.all;"
USE ieee.numeric_std.all;
LIBRARY gates;
USE gates.gates.all;"
tm "PackageList"
)
]
@ -1421,7 +1232,7 @@ st "<cell>"
blo "22600,17000"
)
)
gi *84 (GenericInterface
gi *75 (GenericInterface
ps "CenterOffsetStrategy"
matrix (Matrix
text (MLText
@ -1513,7 +1324,7 @@ o 0
)
)
)
DeclarativeBlock *85 (SymDeclBlock
DeclarativeBlock *76 (SymDeclBlock
uid 1,0
stg "SymDeclLayoutStrategy"
declLabel (Text
@ -1539,9 +1350,9 @@ uid 4,0
va (VaSet
font "Arial,8,1"
)
xt "42000,6000,44400,7000"
xt "42000,3600,44400,4600"
st "User:"
blo "42000,6800"
blo "42000,4400"
)
internalLabel (Text
uid 6,0
@ -1558,7 +1369,7 @@ uid 5,0
va (VaSet
font "Courier New,8,0"
)
xt "44000,7000,44000,7000"
xt "44000,4600,44000,4600"
tm "SyDeclarativeTextMgr"
)
internalText (MLText
@ -1571,5 +1382,5 @@ xt "42000,0,42000,0"
tm "SyDeclarativeTextMgr"
)
)
lastUid 289,0
lastUid 493,0
)