@mchp-mcc/scf-pic8-clc-v1 4.1.3 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog.md +11 -9
- package/Readme.md +11 -9
- package/output/autoCreator.js +11 -40
- package/output/autoCreator.js.map +1 -1
- package/output/autoProcessor.js +11 -40
- package/output/autoProcessor.js.map +1 -1
- package/output/cla_clc_stacked_v5.c.ftl +75 -2
- package/output/cla_clc_stacked_v5.h.ftl +69 -6
- package/output/creator.js +11 -40
- package/output/creator.js.map +1 -1
- package/output/processor.js +11 -40
- package/output/processor.js.map +1 -1
- package/output/reducer.js +1 -1
- package/output/view.js +1 -1
- package/package.json +2 -3
package/Changelog.md
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
-
## [4.
|
|
4
|
+
## [4.2.0] - 2024-06-19
|
|
5
5
|
|
|
6
|
-
###
|
|
7
|
-
- **
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
- **M8PD-5709** :- Added APIs for rising and falling edge detection.
|
|
8
|
+
- **M8PD-5708** :- Updated CLC_Enable() and CLC_Disable() APIs to support all the instances of CLC module
|
|
9
|
+
- **M8PD-5172** :- Added support for CLCINxPPS pin in pin grid view.
|
|
8
10
|
|
|
9
11
|
|
|
10
|
-
## [4.1.
|
|
12
|
+
## [4.1.3] - 2024-03-28
|
|
11
13
|
|
|
12
|
-
### Improvements
|
|
13
|
-
- **CC8SCRIP-19015** :- Fixed Missing CLC Output pin issue
|
|
14
14
|
|
|
15
|
+
No changes from previous version
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [4.1.2] - 2023-12-21
|
|
15
19
|
|
|
16
|
-
## [4.1.1] - 2023-10-10
|
|
17
20
|
|
|
18
|
-
|
|
19
|
-
- **CC8SCRIP-17527** :- Added APFCON Support on Content
|
|
21
|
+
No changes from previous version
|
package/Readme.md
CHANGED
|
@@ -7,19 +7,21 @@ The Configurable Logic Cell (CLC) module provides programmable logic that operat
|
|
|
7
7
|
# Changelog
|
|
8
8
|
All notable changes to this project will be documented in this file.
|
|
9
9
|
|
|
10
|
-
## [4.
|
|
10
|
+
## [4.2.0] - 2024-06-19
|
|
11
11
|
|
|
12
|
-
###
|
|
13
|
-
- **
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
- **M8PD-5709** :- Added APIs for rising and falling edge detection.
|
|
14
|
+
- **M8PD-5708** :- Updated CLC_Enable() and CLC_Disable() APIs to support all the instances of CLC module
|
|
15
|
+
- **M8PD-5172** :- Added support for CLCINxPPS pin in pin grid view.
|
|
14
16
|
|
|
15
17
|
|
|
16
|
-
## [4.1.
|
|
18
|
+
## [4.1.3] - 2024-03-28
|
|
17
19
|
|
|
18
|
-
### Improvements
|
|
19
|
-
- **CC8SCRIP-19015** :- Fixed Missing CLC Output pin issue
|
|
20
20
|
|
|
21
|
+
No changes from previous version
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [4.1.2] - 2023-12-21
|
|
21
25
|
|
|
22
|
-
## [4.1.1] - 2023-10-10
|
|
23
26
|
|
|
24
|
-
|
|
25
|
-
- **CC8SCRIP-17527** :- Added APFCON Support on Content
|
|
27
|
+
No changes from previous version
|
package/output/autoCreator.js
CHANGED
|
@@ -4377,7 +4377,6 @@ var MyDerivedData = /*#__PURE__*/_createClass(function MyDerivedData(dataModel)
|
|
|
4377
4377
|
initializer_system_results: _this.initializer_system_results,
|
|
4378
4378
|
isrCallback: _this.isrCallback,
|
|
4379
4379
|
clc_connections_results: _this.clc_connections_results,
|
|
4380
|
-
isEnabled: _this.isEnabled,
|
|
4381
4380
|
getRequestedModule: _this.getRequestedModule,
|
|
4382
4381
|
getPinsLogic: _generated_module_src_pins_PCPHelper__WEBPACK_IMPORTED_MODULE_11__["getPinsLogic"],
|
|
4383
4382
|
componentNameValidator: _this.componentNameValidator,
|
|
@@ -4385,22 +4384,6 @@ var MyDerivedData = /*#__PURE__*/_createClass(function MyDerivedData(dataModel)
|
|
|
4385
4384
|
pins_interface_args: _this.getPinsinterfaceArgs
|
|
4386
4385
|
});
|
|
4387
4386
|
});
|
|
4388
|
-
_defineProperty(this, "isEnabled", function (compName) {
|
|
4389
|
-
var status;
|
|
4390
|
-
if (_this.dataModel.getComponentValue("clci") === false) {
|
|
4391
|
-
switch (compName) {
|
|
4392
|
-
case "lcintnClccon":
|
|
4393
|
-
status = false;
|
|
4394
|
-
break;
|
|
4395
|
-
case "lcintpClccon":
|
|
4396
|
-
status = false;
|
|
4397
|
-
break;
|
|
4398
|
-
default:
|
|
4399
|
-
status = undefined;
|
|
4400
|
-
}
|
|
4401
|
-
return status;
|
|
4402
|
-
}
|
|
4403
|
-
});
|
|
4404
4387
|
_defineProperty(this, "componentNameValidator", function () {
|
|
4405
4388
|
return {
|
|
4406
4389
|
pattern: _this.cValidator.getRjsfValidation().pattern
|
|
@@ -4516,9 +4499,6 @@ var MyDerivedData = /*#__PURE__*/_createClass(function MyDerivedData(dataModel)
|
|
|
4516
4499
|
});
|
|
4517
4500
|
_defineProperty(this, "getMyAlerts", function () {
|
|
4518
4501
|
var alerts = [];
|
|
4519
|
-
var getValue = function getValue(name) {
|
|
4520
|
-
return _this.dataModel.getComponentValue(name);
|
|
4521
|
-
};
|
|
4522
4502
|
var inputs = [];
|
|
4523
4503
|
_Constants__WEBPACK_IMPORTED_MODULE_7__["GATES"].forEach(function (gate) {
|
|
4524
4504
|
var setting = Object(_SettingNameCalculator__WEBPACK_IMPORTED_MODULE_8__["getGateSourceSetting"])(gate);
|
|
@@ -4535,19 +4515,6 @@ var MyDerivedData = /*#__PURE__*/_createClass(function MyDerivedData(dataModel)
|
|
|
4535
4515
|
text: "".concat(name, " uses ").concat(input, ". Ensure ").concat(input, " has been configured.")
|
|
4536
4516
|
});
|
|
4537
4517
|
});
|
|
4538
|
-
if (!getValue("clci") && (getValue("lcintpClccon") === "enabled" || getValue("lcintnClccon") === "enabled")) {
|
|
4539
|
-
var msg = "";
|
|
4540
|
-
if (getValue("lcintpClccon") === "enabled") {
|
|
4541
|
-
msg = "Rising Edge Interrupt";
|
|
4542
|
-
}
|
|
4543
|
-
if (getValue("lcintnClccon") === "enabled") {
|
|
4544
|
-
msg = msg.length > 1 ? "Rising and Falling Edge Interrupts" : "Falling Edge Interrupt";
|
|
4545
|
-
}
|
|
4546
|
-
alerts.push({
|
|
4547
|
-
type: _microchip_scf_common_lib_Processor__WEBPACK_IMPORTED_MODULE_0__["AlertTypes"].Warning,
|
|
4548
|
-
text: "CLC Interrupt is disabled, ".concat(msg, " API will not be generated.")
|
|
4549
|
-
});
|
|
4550
|
-
}
|
|
4551
4518
|
return alerts;
|
|
4552
4519
|
});
|
|
4553
4520
|
_defineProperty(this, "getDataConfigInvertedProcessedArg", function (gate, input) {
|
|
@@ -4725,11 +4692,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
4725
4692
|
|
|
4726
4693
|
|
|
4727
4694
|
var getGeneratorModel = function getGeneratorModel(model) {
|
|
4728
|
-
var _clcInterface$headerF, _intPayload$vectoredI, _intPayload$isHighPri, _intPayload$isHighPri2, _intPayload$ivtBaseAd, _interrupts$CLCI$hand, _interrupts$CLCI$hand2;
|
|
4695
|
+
var _model$getName, _clcInterface$headerF, _intPayload$vectoredI, _intPayload$isHighPri, _intPayload$isHighPri2, _intPayload$ivtBaseAd, _interrupts$CLCI$hand, _interrupts$CLCI$hand2, _registerValues$CLCSE;
|
|
4729
4696
|
if (!model.getHardware()) return {};
|
|
4730
4697
|
var interrupts = model.getInterrupts();
|
|
4698
|
+
var moduleName = (_model$getName = model === null || model === void 0 ? void 0 : model.getName()) !== null && _model$getName !== void 0 ? _model$getName : "CLC1";
|
|
4731
4699
|
var registerValues = model.getRegisterValues();
|
|
4732
4700
|
if (!registerValues || !interrupts) return {};
|
|
4701
|
+
var clcsel = registerValues.CLCSELECT ? true : false; //check if CLCSELECT reg is avaliable
|
|
4702
|
+
|
|
4733
4703
|
var initRegisters = Object(_generated_module_src_Utils__WEBPACK_IMPORTED_MODULE_1__["values"])(registerValues).filter(function (reg) {
|
|
4734
4704
|
return reg.alias !== registerValues.CLCCON.alias;
|
|
4735
4705
|
});
|
|
@@ -4738,11 +4708,10 @@ var getGeneratorModel = function getGeneratorModel(model) {
|
|
|
4738
4708
|
var clcInterface = _interfaces_cla_clc_stacked__WEBPACK_IMPORTED_MODULE_0__["Interface"].createFirmwareApi(model.getComponentValue("componentName"), getHeaderFiles(model));
|
|
4739
4709
|
var intPayload = model.getImportValue("interrupt_standard");
|
|
4740
4710
|
return {
|
|
4741
|
-
|
|
4742
|
-
tool: "MPLABX v5.40",
|
|
4711
|
+
instance: parseInt(moduleName[3]),
|
|
4743
4712
|
customName: model.getComponentValue("componentName"),
|
|
4744
|
-
moduleNameLowerCase:
|
|
4745
|
-
moduleNameUpperCase:
|
|
4713
|
+
moduleNameLowerCase: moduleName.toLowerCase(),
|
|
4714
|
+
moduleNameUpperCase: moduleName.toUpperCase(),
|
|
4746
4715
|
header: (_clcInterface$headerF = clcInterface.headerFiles) === null || _clcInterface$headerF === void 0 ? void 0 : _clcInterface$headerF[0],
|
|
4747
4716
|
api: clcInterface.api,
|
|
4748
4717
|
simpleApi: clcInterface.simpleApi,
|
|
@@ -4753,9 +4722,11 @@ var getGeneratorModel = function getGeneratorModel(model) {
|
|
|
4753
4722
|
interruptFlagName: interrupts["CLCI"].flag,
|
|
4754
4723
|
interruptEnableBitName: interrupts["CLCI"].enable,
|
|
4755
4724
|
IRQname: (_interrupts$CLCI$hand = (_interrupts$CLCI$hand2 = interrupts["CLCI"].handlerName) === null || _interrupts$CLCI$hand2 === void 0 ? void 0 : _interrupts$CLCI$hand2.replace("_", "")) !== null && _interrupts$CLCI$hand !== void 0 ? _interrupts$CLCI$hand : "",
|
|
4725
|
+
clcselDef: clcsel,
|
|
4756
4726
|
initRegisters: initRegisters,
|
|
4757
4727
|
CLCDATA: registerValues.CLCDATA,
|
|
4758
|
-
CLCCON: registerValues.CLCCON
|
|
4728
|
+
CLCCON: registerValues.CLCCON,
|
|
4729
|
+
CLCSELECT: (_registerValues$CLCSE = registerValues.CLCSELECT) !== null && _registerValues$CLCSE !== void 0 ? _registerValues$CLCSE : ""
|
|
4759
4730
|
};
|
|
4760
4731
|
};
|
|
4761
4732
|
var getHeaderFiles = function getHeaderFiles(model) {
|
|
@@ -5359,7 +5330,7 @@ module.exports = JSON.parse("{\"rows\":[{\"name\":\"clcout\",\"module\":\"CLC1\"
|
|
|
5359
5330
|
|
|
5360
5331
|
__webpack_require__(/*! core-js/es/set/index */"./node_modules/core-js/es/set/index.js");
|
|
5361
5332
|
__webpack_require__(/*! core-js/es/map/index */"./node_modules/core-js/es/map/index.js");
|
|
5362
|
-
module.exports = __webpack_require__(/*! /home/jenkins/agent/workspace/ed_Content_scf-pic8-clc-v1_4.
|
|
5333
|
+
module.exports = __webpack_require__(/*! /home/jenkins/agent/workspace/ed_Content_scf-pic8-clc-v1_4.2.0/generated_module/src/autoCreator.ts */"./generated_module/src/autoCreator.ts");
|
|
5363
5334
|
|
|
5364
5335
|
|
|
5365
5336
|
/***/ })
|